summaryrefslogtreecommitdiff
path: root/lib/mbedtls/port/assert.h
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2024-07-24 22:47:11 +0000
committerTom Rini <trini@konsulko.com>2024-09-25 08:54:03 -0600
commit4386ab9118e7b405829fbcb3bbbaf2f47ddf0b44 (patch)
tree4c8cdacc3256876bd1afbece4b93c1de33d32cbb /lib/mbedtls/port/assert.h
parentf417c14d88fec5757dbf3cd6af6f7f2ddb99595f (diff)
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>
Diffstat (limited to 'lib/mbedtls/port/assert.h')
0 files changed, 0 insertions, 0 deletions