mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
gpio: sysfs: drop the mention of gpiochip_find() from sysfs code
[ Upstream commite404b0cc9f
] We have removed all callers of gpiochip_find() so don't mention it in gpiolib-sysfs.c. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Stable-dep-of:48e1b4d369
("gpiolib: remove the GPIO device from the list when it's unregistered") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ba3f1a346b
commit
4147d76f98
1 changed files with 1 additions and 1 deletions
|
@ -817,7 +817,7 @@ static int __init gpiolib_sysfs_init(void)
|
|||
* gpiochip_sysfs_register() acquires a mutex. This is unsafe
|
||||
* and needs to be fixed.
|
||||
*
|
||||
* Also it would be nice to use gpiochip_find() here so we
|
||||
* Also it would be nice to use gpio_device_find() here so we
|
||||
* can keep gpio_chips local to gpiolib.c, but the yield of
|
||||
* gpio_lock prevents us from doing this.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue