[PATCH v1 4/4] ARM: boards: skov-imx6: convert all pr_ to dev_ prints

Sascha Hauer sha at pengutronix.de
Wed Nov 2 04:20:05 PDT 2022


On Wed, Nov 02, 2022 at 11:07:44AM +0100, Oleksij Rempel wrote:
> Unify all printing messages and make use of dev_ instead of pr_.
> 
> Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
> ---
>  arch/arm/boards/skov-imx6/board.c | 62 +++++++++++++++----------------
>  1 file changed, 31 insertions(+), 31 deletions(-)
> 
> diff --git a/arch/arm/boards/skov-imx6/board.c b/arch/arm/boards/skov-imx6/board.c
> index ab8b229a69..d23730221f 100644
> --- a/arch/arm/boards/skov-imx6/board.c
> +++ b/arch/arm/boards/skov-imx6/board.c
> @@ -33,21 +33,21 @@ static int eth_of_fixup_node(struct device_node *root, const char *node_path,
>  		unsigned char ethaddr_str[sizeof("xx:xx:xx:xx:xx:xx")];
>  
>  		ethaddr_to_string(ethaddr, ethaddr_str);
> -		pr_err("The mac-address %s is invalid.\n", ethaddr_str);
> +		dev_err(skov_priv->dev, "The mac-address %s is invalid.\n", ethaddr_str);

Ah, ok, here is that change. This patch should rather be before 3/4.

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 |



More information about the barebox mailing list