--- zzzz-none-000/linux-2.6.39.4/drivers/hwmon/ibmpex.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/drivers/hwmon/ibmpex.c 2021-11-10 13:23:10.000000000 +0000 @@ -358,7 +358,6 @@ else if (type == POWER_SENSOR) sprintf(n, power_sensor_name_templates[func], "power", counter); - sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr); data->sensors[sensor].attr[func].dev_attr.attr.name = n; data->sensors[sensor].attr[func].dev_attr.attr.mode = S_IRUGO; data->sensors[sensor].attr[func].dev_attr.show = ibmpex_show_sensor;