]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: light: hid-sensor-prox: Fit assignment in one line
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 8 May 2015 18:54:00 +0000 (15:54 -0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 14 Jun 2015 14:03:53 +0000 (15:03 +0100)
commit1ca0259b18478b2bab6d5c81ca1de52dd519ae5e
treed0d09fb55ee80002e95d786215b880c81a9a84ba
parentae35496230bc792fa76505ab7fcee694c7f7d523
iio: light: hid-sensor-prox: Fit assignment in one line

There is no need to do the assignment to indio_dev->num_channels in two
lines code.

Put it in one line.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/hid-sensor-prox.c