Wolfgang Wallner
854901ccd4
gpio: Return -ENODEV if gpio_hog_lookup_name() is empty
...
If CONFIG_GPIO_HOG is not set, then gpio_hog_lookup_name() is empty,
and thus does not initialize any of its parameters. It does still
return 0 though, and so any calling function might assume that the
parameters have been initialized successfully.
Change the return value to -ENODEV in this case, as the function
would in the case when CONFIG_GPIO_HOG is set but the gpio hog
could not be found.
Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Heiko Schocher <hs@nabladev.com>
2025-11-06 08:20:22 -06:00
..
2024-05-20 13:35:03 -06:00
2025-01-16 10:15:42 -03:00
2025-09-16 13:41:31 -06:00
2024-07-22 10:53:05 -06:00
2024-11-29 12:59:27 +02:00
2024-05-20 13:35:03 -06:00
2025-04-28 12:45:44 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2020-12-13 16:51:09 -07:00
2025-08-11 15:11:22 -06:00
2024-05-20 13:35:03 -06:00
2025-03-12 10:24:58 -06:00
2025-10-08 13:54:58 -06:00
2024-10-29 12:12:04 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-11-06 08:20:22 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-12-07 09:07:03 -03:00
2024-05-20 13:35:03 -06:00
2025-10-28 10:32:59 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-10-10 10:26:53 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-10-10 10:26:53 -06:00
2024-05-20 13:35:03 -06:00
2023-12-19 20:53:53 +02:00
2024-10-24 11:19:31 -06:00
2024-05-20 13:35:03 -06:00
2024-12-30 15:55:27 -06:00
2024-05-20 13:35:03 -06:00
2025-09-19 19:22:52 +08:00
2024-05-20 13:35:03 -06:00
2025-06-24 07:53:33 -06:00
2021-01-24 21:39:26 +01:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-30 22:32:29 -03:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-12-30 15:55:01 -06:00
2024-05-20 13:35:03 -06:00
2022-05-03 18:33:29 -04:00
2024-05-20 13:35:03 -06:00
2023-12-19 20:53:53 +02:00
2025-02-18 16:32:24 -06:00
2025-05-29 08:29:16 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-07-14 15:35:24 +02:00
2025-10-29 12:27:33 +01:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2023-11-02 11:30:18 +01:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2022-05-10 13:54:48 +02:00
2024-05-20 13:35:03 -06:00
2025-04-28 12:45:44 -06:00
2020-05-18 21:19:23 -04:00
2024-05-20 13:35:03 -06:00
2025-10-28 11:27:44 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-07-24 08:54:16 +02:00
2025-10-09 09:07:03 +02:00