summaryrefslogtreecommitdiffstats
path: root/lib/test_kmod.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-10-07 04:41:31 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-22 12:10:23 +0200
commit2f4292a821711ec9f2c7781d1ee1a9570940bd02 (patch)
tree1521a45975efc1d21e4b2e4fb151d18472d3f4ae /lib/test_kmod.c
parentiio: pressure: bmp280: use bulk regulator ops (diff)
downloadlinux-2f4292a821711ec9f2c7781d1ee1a9570940bd02.tar.xz
linux-2f4292a821711ec9f2c7781d1ee1a9570940bd02.zip
iio: pressure: bmp280: use devm action and remove labels from probe
We can drop some duplicate code if we use devm_action for disabling regulators and pm and the managed variant of iio_device_register(). This allows us to completely remove all remove() callbacks from both i2c and spi code. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/test_kmod.c')
0 files changed, 0 insertions, 0 deletions