staging: iio: tsl2x7x: rename prx to prox for consistency
authorBrian Masney <masneyb@onstation.org>
Sat, 21 Apr 2018 00:41:50 +0000 (20:41 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Apr 2018 15:17:59 +0000 (16:17 +0100)
commitdc6ebdd347b3b107a1ce5e8ca51ebc7bd82d38ef
tree09afdb9c2a64dc1b64021c2433cd21a036062174
parent96c44e2e61d51fa9b4476d89d0e5703d3a2e4ac2
staging: iio: tsl2x7x: rename prx to prox for consistency

The driver mostly uses the 'prox' naming convention for most of the
proximity settings, however prx_time and tsl2x7x_prx_gain was present.
This patch renames these to prox_time and tsl2x7x_prox_gain for
consistency with everything else in the driver.

The kernel documentation for prx_gain is corrected to prox_gain so that
it matches what is actually in the structure.

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