diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2025-12-19 13:13:12 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2025-12-22 17:57:35 +0100 |
| commit | cecf10b700e06a2f2e2b638b1f680e1ae7f343ac (patch) | |
| tree | a74aacf5e36b37992531490aab0a2289fa680b71 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 47d8cb678081d12704d52ed42b625e96f38470e0 (diff) | |
gpio: aspeed: Simplify with device_get_match_data()
Driver's probe function matches against driver's of_device_id table,
where each entry has non-NULL match data, so of_match_node() can be
simplified with device_get_match_data().
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251219-gpio-of-match-v3-1-6b84194a02a8@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
