Source
181
181
pm_runtime_enable(&client->dev);
182
182
return res;
183
183
}
184
184
185
185
static int isl29020_remove(struct i2c_client *client)
186
186
{
187
187
sysfs_remove_group(&client->dev.kobj, &m_als_gr);
188
188
return 0;
189
189
}
190
190
191
-
static struct i2c_device_id isl29020_id[] = {
191
+
static const struct i2c_device_id isl29020_id[] = {
192
192
{ "isl29020", 0 },
193
193
{ }
194
194
};
195
195
196
196
MODULE_DEVICE_TABLE(i2c, isl29020_id);
197
197
198
198
#ifdef CONFIG_PM
199
199
200
200
static int isl29020_runtime_suspend(struct device *dev)
201
201
{