diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-01-30 09:06:36 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-31 13:17:24 +0000 |
commit | a4f399a1416f645ac701064a55b0cb5203707ac9 (patch) | |
tree | 3e8f1afcbb2e198ad43a3361bb44b062d3d0c156 /scripts/nsdeps | |
parent | 1601033da2dd2052e0489137f7788a46a8fcd82f (diff) | |
download | linux-a4f399a1416f645ac701064a55b0cb5203707ac9.tar.bz2 |
Input: wm97xx: Simplify resource management
Since the commit in the Fixes tag below, 'wm->input_dev' is a managed
resource that doesn't need to be explicitly unregistered or freed (see
devm_input_allocate_device() documentation)
So, remove some unless line of code to slightly simplify it.
Fixes: c72f61e74073 ("Input: wm97xx: split out touchscreen registering")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/87dce7e80ea9b191843fa22415ca3aef5f3cc2e6.1643529968.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/nsdeps')
0 files changed, 0 insertions, 0 deletions