Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191118080931.30749-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Chuhong Yuan and committed by
Greg Kroah-Hartman
efb5bea6 8edf4cd1

+1
+1
drivers/misc/isl29020.c
··· 173 173 174 174 static int isl29020_remove(struct i2c_client *client) 175 175 { 176 + pm_runtime_disable(&client->dev); 176 177 sysfs_remove_group(&client->dev.kobj, &m_als_gr); 177 178 return 0; 178 179 }