summaryrefslogtreecommitdiffstats
path: root/drivers/input/gameport
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-06 19:42:36 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-06-06 20:11:58 +0200
commitd9f12a3bbb6d1afe872425a8fa2612945975cfb8 (patch)
tree89f3662498957d8e3fca6543270801359c5c9165 /drivers/input/gameport
parentInput: tps65219-pwrbutton - convert to .remove_new() (diff)
downloadlinux-d9f12a3bbb6d1afe872425a8fa2612945975cfb8.tar.xz
linux-d9f12a3bbb6d1afe872425a8fa2612945975cfb8.zip
Input: tps65219-pwrbutton - use regmap_set_bits()
regmap_set_bits() is equivalent to regmap_update_bits() if mask == val. The probe function uses regmap_clear_bits() to enable irqs, so symmetrically make use of regmap_set_bits() to disable them. There is no semantic difference. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com> Link: https://lore.kernel.org/r/20230605161458.117361-2-u.kleine-koenig@pengutronix.de Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/gameport')
0 files changed, 0 insertions, 0 deletions