--- zzzz-none-000/linux-3.10.107/drivers/misc/tsl2550.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/misc/tsl2550.c 2021-02-04 17:41:59.000000000 +0000 @@ -20,7 +20,6 @@ */ #include -#include #include #include #include @@ -204,7 +203,7 @@ unsigned long val = simple_strtoul(buf, NULL, 10); int ret; - if (val < 0 || val > 1) + if (val > 1) return -EINVAL; mutex_lock(&data->update_lock); @@ -236,7 +235,7 @@ unsigned long val = simple_strtoul(buf, NULL, 10); int ret; - if (val < 0 || val > 1) + if (val > 1) return -EINVAL; if (data->power_state == 0) @@ -447,7 +446,6 @@ static struct i2c_driver tsl2550_driver = { .driver = { .name = TSL2550_DRV_NAME, - .owner = THIS_MODULE, .pm = TSL2550_PM_OPS, }, .probe = tsl2550_probe,