]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: tsl2x7x: put function definitions on a single line
authorBrian Masney <masneyb@onstation.org>
Thu, 19 Oct 2017 20:06:31 +0000 (16:06 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Oct 2017 17:45:28 +0000 (18:45 +0100)
commitcd79f89e4e2eff9bb91d8671aebdfe514e1f6042
tree64e88636d5ddd73b67c144cf62eaa8a357d1afa2
parentb86a2e6cc8ce5075acf27afabc2608490155e497
staging: iio: tsl2x7x: put function definitions on a single line

The functions tsl2x7x_invoke_change() and tsl2x7x_prox_calculate() are
short enough that the return value and static declaration can be moved
onto the same line with the function name. This patch makes that change
to increase code readability.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/light/tsl2x7x.c