summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-12-27 19:32:58 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-27 19:32:58 +0100
commit9d5394c2a19f8a74cb55ce83027bad1808b373b5 (patch)
tree6d298092b6dd043511568277df7999acf77bd67a /drivers
parent[media] m920x: introduce m920x_rc_core_query() (diff)
downloadlinux-9d5394c2a19f8a74cb55ce83027bad1808b373b5.tar.xz
linux-9d5394c2a19f8a74cb55ce83027bad1808b373b5.zip
[media] m920x: Fix CodingStyle issues
Fix CodingStyle issues introduced by the last patch Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/usb/dvb-usb/m920x.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/usb/dvb-usb/m920x.c b/drivers/media/usb/dvb-usb/m920x.c
index bddd7637fdaa..a70c5eaf0600 100644
--- a/drivers/media/usb/dvb-usb/m920x.c
+++ b/drivers/media/usb/dvb-usb/m920x.c
@@ -191,10 +191,14 @@ static int m920x_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
if (!rc_state)
return -ENOMEM;
- if ((ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_STATE, rc_state, 1)) != 0)
+ ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_STATE,
+ rc_state, 1);
+ if (ret != 0)
goto out;
- if ((ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_KEY, rc_state + 1, 1)) != 0)
+ ret = m920x_read(d->udev, M9206_CORE, 0x0, M9206_RC_KEY,
+ rc_state + 1, 1);
+ if (ret != 0)
goto out;
m920x_parse_rc_state(d, rc_state[0], state);