Re: [PATCH net-next v1 1/1] ptp: ocp: Use DEFINE_RES_*() in place

From: Simon Horman
Date: Sat Dec 23 2023 - 11:40:30 EST


On Thu, Dec 21, 2023 at 04:06:07PM +0200, Andy Shevchenko wrote:
> There is no need to have an intermediate functions as DEFINE_RES_*()
> macros are represented by compound literals. Just use them in place.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Thanks Andy,

this is a nice cleanup.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>