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>