Re: [PATCH 1/4] reset_source: introduce reset_source_xlate to translate specific type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 10, 2020 at 02:09:49PM +0100, Ahmad Fatoum wrote:
> We have a few places where driver code prints reset_source_name() to
> console after setting the reset source.
> 
> This working is probe order dependent, because reset_source_name()
> prints the highest priority reset_source so far, which doesn't
> necessarily have to be the one that was just computed.
> 
> Implement reset_source_xlate, so drivers can be migrated to use it.

I renamed reset_source_xlate to reset_source_to_string which IMO makes
it more clear what this function does.

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux