Re: [PATCH v1 1/1] driver core: Move dev_err_probe() to where it belogs

From: Andi Shyti
Date: Sun Jul 23 2023 - 16:30:43 EST


Hi Andi,

On Fri, Jul 21, 2023 at 04:13:09PM +0300, Andy Shevchenko wrote:
> dev_err_probe() belongs to the printing API, hence
> move the definition from device.h to dev_printk.h.
>
> There is no change to the callers at all, since:
> 1) implementation is located in the same core.c;
> 2) dev_printk.h is guaranteed to be included by device.h.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

yes! I think that's right!

Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxx>

Andi