summaryrefslogtreecommitdiffstats
path: root/drivers/md/md-multipath.h
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-05-09 13:33:36 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-05-17 14:54:27 +0200
commit934616e8ebe162d93b82aef44d154b6b0d200dc1 (patch)
tree09b1c075accdbb934e6185fd880bc0ef3461a368 /drivers/md/md-multipath.h
parentiio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get() (diff)
downloadlinux-934616e8ebe162d93b82aef44d154b6b0d200dc1.tar.xz
linux-934616e8ebe162d93b82aef44d154b6b0d200dc1.zip
iio: light: rpr0521: Balance runtime pm + use pm_runtime_resume_and_get()
Calls to pm_runtime_put_noidle in probe() error path and remove() are not match to any get() calls. The runtime pm core protects against negative reference counts, so this doesn't have any visible impact beyond confusing the reader. Whilst here use pm_runtime_resume_and_get() to replace boilerplate. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Mikko Koivunen <mikko.koivunen@fi.rohmeurope.com> Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/20210509113354.660190-11-jic23@kernel.org
Diffstat (limited to 'drivers/md/md-multipath.h')
0 files changed, 0 insertions, 0 deletions