Skip to content
Commit 9d1bcc61 authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Carles Cufí
Browse files

drivers: regulator: cleanup device_is_ready and atoi usage



Cleanup regulator shell to use strtol() over atoi(), as strtol features
error detection. Remove device_is_ready() checks, and replace them with
NULL checks as device_get_binding() calls device_is_ready() interally

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 3e663748
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment