diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-07-27 08:36:49 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-28 16:41:12 -0700 |
commit | 3fe81a56253b25864f15b699609e26c0ccdd9180 (patch) | |
tree | 5f3427023fb09520e2b2d43c1aa0a59edea9666f /scripts/lib/kdoc/kdoc_output.py | |
parent | 740ff03d7238214a318cdcfd96dec51832b053d2 (diff) |
Input: spear-keyboard - switch to devm_clk_get_prepared()
Use devm_clk_get_prepared() in order to remove a clk_unprepare() in an
error handling path of the probe and from the .remove() function.
This done, the whole .remove() function can also be axed because
'input_dev' is a managed resource allocated with
devm_input_allocate_device() and we can fully rely on devm for cleaning up.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/062986b0a5105cbc61330da0e55b22c00e2c1c4f.1722062145.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions