drivers/misc: beautify code: chip->lux_calib is u16 which will never more than APDS_RANGE
authorChen Gang <gang.chen@asianux.com>
Wed, 27 Feb 2013 05:56:16 +0000 (13:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:12:38 +0000 (11:12 -0700)
commitff9c351f96168a90d5a8239c350b565059e68be1
treee4290f81908ba5b779821523740894c06a8040a2
parentd87c3f057922e616c0449aac518da200355c84e9
drivers/misc: beautify code: chip->lux_calib is u16 which will never more than APDS_RANGE

  APDS_RANGE is 65535, chip->lux_calib is u16 (never more than APDS_RANGE).

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/apds990x.c