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

Jonathan Cameron jic23 at kernel.org
Mon Sep 7 15:24:16 PDT 2026


On Mon, 07 Sep 2026 07:45:02 +0200
Thomas Weißschuh <linux at weissschuh.net> 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 at weissschuh.net>

Acked-by: Jonathan Cameron <jonathan.cameron at oss.qualcomm.com> #for cxl_pmu



More information about the linux-arm-kernel mailing list