]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: accel: adxl345: simplify tap suppress bit
authorLothar Rubusch <l.rubusch@gmail.com>
Sun, 27 Jul 2025 21:00:08 +0000 (21:00 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 Aug 2025 10:57:07 +0000 (11:57 +0100)
commitc6eac16025eb9760132b5cc5e70d9ae109801593
tree166aef012d857fa5c62b2e757d7cc3bd8a45336b
parent73c8b83b4aedae07b3c45379fe14be5a2734cbca
iio: accel: adxl345: simplify tap suppress bit

Simplify setting the tap suppress bit by applying regmap_assign_bit(). As a
result, the defines can be reorganized for better clarity.

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