summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/gp2ap020a00f.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2021-10-31 15:21:28 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-11-17 18:51:38 +0100
commitf3df6c739a8513ab81dd9d49c0329933620cfaa7 (patch)
tree0ef4cb0ea625e8eef62ff89154b9a4e2853c6a64 /drivers/iio/light/gp2ap020a00f.c
parentiio: as3935: Remove no-op trigger ops (diff)
downloadlinux-f3df6c739a8513ab81dd9d49c0329933620cfaa7.tar.xz
linux-f3df6c739a8513ab81dd9d49c0329933620cfaa7.zip
iio: atlas-sensor: Remove no-op trigger ops
The IIO core handles a trigger ops with all NULL callbacks the same as if the trigger ops itself was NULL. Remove the empty trigger ops from the interrupt trigger driver to slightly reduce the boilerplate code. Object size of the driver module is also slightly reduced. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Link: https://lore.kernel.org/r/20211031142130.20791-7-lars@metafoo.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/gp2ap020a00f.c')
0 files changed, 0 insertions, 0 deletions