Fix the minor style issue and remove unnecessary cast Signed-off-by: chao an <anchao@xiaomi.com>
to remove the unnecessary cast and unify the usage Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Add support for the LTR308 ambient light sensor through I2C. Currently, the interrupt-driven mode of operation is not supported. Signed-off-by: Robert-Ionut Alexa <robertalexa2000@gmail.com>