Skip to content
Commit 20874a60 authored by Marek Vasut's avatar Marek Vasut Committed by Stefano Babic
Browse files

power-domain: Return 0 if ops unimplemented and remove empty functions



In case the ops is not implemented, return 0 in the core right away.
This is better than having multiple copies of functions which just
return 0 in each power domain driver. Drop all those empty functions.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Simon Glass <sjg@chromium.org>
parent 85d0580e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment