Input: pinephone-keyboard - use devm_regulator_get_enable()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 17 Jun 2023 07:05:42 +0000 (09:05 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 8 Jul 2023 00:03:26 +0000 (17:03 -0700)
commit3ce6e06202b49802e8e0c4c8858717f534a308d0
tree928f098ad5ad4eab391c6c76104cedfb605ceaa0
parent59a51ba6e946a2a02865285eb3e10bb607033dd3
Input: pinephone-keyboard - use devm_regulator_get_enable()

Use devm_regulator_get_enable() instead of hand writing it. It saves some
line of code.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/78d7a4719ed7c372a7aa62afb66d4f1561799b5f.1686985515.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/pinephone-keyboard.c