diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2026-04-27 10:47:57 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-05-04 09:32:54 +0200 |
| commit | 575d985581e9ef7a175b61d63c824e5dd1d47987 (patch) | |
| tree | e0d6fece32fed6582741302fe422e8b7e4aae985 /scripts/Makefile.thinlto | |
| parent | be22c0f7f2d573addcdf3a92f8aaef7a45a8c133 (diff) | |
gpio: devres: Use devres parent if undefined
If the user did not pass a parent in the struct gpio_chip
then use the device used for devres as parent.
This is quite intuitive and can help avoiding having to
assign parent explicitly in every driver using devres
to add the gpiochip.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patch.msgid.link/20260427-gpio-mmio-more-v3-1-fe1882351424@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
