Jonas Karlman 4386ab9118 power: regulator: Consistently return -ENOSYS when ops is unimplemented
dev_get_driver_ops() may return NULL when the udevice is invalid.

Move the ops check to top of functions to consistently return -ENOSYS
when ops is unimplemented and prevent trying to access uclass plat data,
also add missing NULL checks to suspend ops.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2024-09-25 08:54:03 -06:00
..
2024-08-19 18:24:58 -06:00
2024-09-16 14:48:13 -06:00
2024-09-16 14:48:13 -06:00
2024-09-19 00:12:41 -03:00
2024-09-12 17:35:37 +02:00
2024-08-19 18:24:58 -06:00
2024-09-23 08:11:01 -06:00
2024-06-24 13:34:52 -06:00
2023-11-07 14:50:51 -05:00
2024-09-16 14:48:13 -06:00
2024-04-26 08:28:35 +03:00
2024-09-24 10:07:36 -06:00
2024-07-31 16:51:54 +02:00