misc: isl29020: add missed pm_runtime_disable
PATCH 1/1 misc: isl29020: add missed pm_runtime_disable
The driver forgets to call pm_runtime_disable in remove. Add the missed call to fix it.
Signed-off-by Chuhong Yuan <[email protected]>
--- drivers/misc/isl29020.c | 1 + 1 file changed, 1 insertion(+)
drivers/misc/isl29020.c +1 -0
@@ -173,6 +173,7 @@ static int isl29020_probe(struct i2c_client *client,static int isl29020_remove (struct i2c_client *client) { +pm_runtime_disable (&client->dev);sysfs_remove_group (&client->dev.kobj, &m_als_gr);return 0 ; }
Signature · 1 line
2.24.0