On Sun, 15 Dec 2019 at 20:14, Chunfeng Yun <[email protected]> wrote: > > Add valid check for clk->dev, it's useful when get optional > clock even when the clk point is valid, but its dev will be > NULL. > > Signed-off-by: Chunfeng Yun <[email protected]> > --- > drivers/clk/clk-uclass.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

