@@ 233,16 233,17 @@ ppbbq10_probe(struct i2c_client *client, const struct i2c_device_id *id)
if (error)
return -ENODEV;
- bd = devm_backlight_device_register(dev, client->name, dev,
- drv_data,
- &backlight_ops,
- &backlight_props);
- if (IS_ERR(bd))
- return PTR_ERR(bd);
-
- error = backlight_update_status(bd);
- if (error)
- return -ENODEV;
+ // TODO: cleanup
+ //bd = devm_backlight_device_register(dev, client->name, dev,
+ // drv_data,
+ // &backlight_ops,
+ // &backlight_props);
+ //if (IS_ERR(bd))
+ // return PTR_ERR(bd);
+
+ //error = backlight_update_status(bd);
+ //if (error)
+ // return -ENODEV;
input = devm_input_allocate_device(dev);
if (!input)