]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: accel: adxl345: make data struct variable irq function local
authorLothar Rubusch <l.rubusch@gmail.com>
Tue, 10 Jun 2025 21:59:24 +0000 (21:59 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 26 Jun 2025 18:32:55 +0000 (19:32 +0100)
commit5decafde4dee2e725b03bc0cd540af35bf199835
tree39d128a57f381466396cc0c4a7d756e84ef9357e
parent51180f03eb6f5ee82a620af534efff12d272bb86
iio: accel: adxl345: make data struct variable irq function local

Remove variable irq from the struct state and make it a function local
variable, because it is not necessary to be kept struct-wise.

This is a refactoring change and should not impact functionality.

Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
Link: https://patch.msgid.link/20250610215933.84795-3-l.rubusch@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/adxl345_core.c