diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-10-07 12:25:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-13 13:01:39 +0100 |
commit | 5d473aefbcd3c772d085e2124b91174c87bf8d3b (patch) | |
tree | 887354a12811a20cb2ade51033f02dba8c95e5b0 /rust/helpers/err.c | |
parent | 729e7d4b1c5484928bd930ba94bb010e5b88a555 (diff) |
gpio: vf610: use generic device_get_match_data()
[ Upstream commit 1b35c124f961b355dafb1906c591191bd0b37417 ]
There's no need to use the OF-specific variant to get the match data.
Switch to using device_get_match_data() and with that remove the of.h
include. Also remove of_irq.h as none of its interfaces is used here and
order the includes in alphabetical order.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241007102549.34926-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Stable-dep-of: 4e667a196809 ("gpio: vf610: add locking to gpio direction functions")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions