[PATCH] reset: Return 0 if ops unimplemented and remove empty functions

Tom Rini trini at konsulko.com
Fri May 6 01:39:13 CEST 2022


On Tue, Apr 26, 2022 at 11:43:30PM +0200, Marek Vasut wrote:

> 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 reset driver. Drop all those empty functions.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220505/e075871d/attachment.sig>


More information about the U-Boot mailing list