Hi Julia,
I noticed your patch series to change DEVICE_ATTR() to DEVICE_ATTR_{RW,RO,WO}().
In hwmon, we have a lot of candidates for this change, but unfortunately the
function names do not typically match the _show/_store name convention.
Is there a way to tell coccinelle to change the function names to match this
convention ?
Background is that I want to change SENSOR_DEVICE_ATTR() and
SENSOR_DEVICE_ATTR_2()
as well (after introducing _{RO,RW,WO} variants), but there the function names
are
even more non-standard. The ability to change function names would help a lot
for
automating this change.
Thanks,
Guenter
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci