[media] fc2580: small improvements for chip id check
* better readability * make checkpatch.pl happy * few bytes smaller binary footprint Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
2347e6836a
commit
132f56fb3c
|
@ -498,7 +498,11 @@ struct dvb_frontend *fc2580_attach(struct dvb_frontend *fe,
|
|||
|
||||
dev_dbg(&priv->i2c->dev, "%s: chip_id=%02x\n", __func__, chip_id);
|
||||
|
||||
if ((chip_id != 0x56) && (chip_id != 0x5a)) {
|
||||
switch (chip_id) {
|
||||
case 0x56:
|
||||
case 0x5a:
|
||||
break;
|
||||
default:
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue