Re: [PATCH v2 2/3] drivers: perf: Use __DEVICE_ATTR() macro to initialize dev_ext_attribute

From: Jonathan Cameron

Date: Mon Sep 07 2026 - 18:24:43 EST


On Mon, 07 Sep 2026 07:45:02 +0200
Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote:

> The upcoming constification of the device_show_*() callback
> signatures requires the users to handle the transition automatically.
>
> Switch to the __DEVICE_ATTR() macro which can do this.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

Acked-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx> #for cxl_pmu