Re: [PATCH 2/2] device_attributes: add sysfs_attr_init() for dynamic attributes

2010-04-08 Thread Mauro Carvalho Chehab
Wolfram Sang wrote: > Made necessary by 6992f5334995af474c2b58d010d08bc597f0f2fe. Prevents further > "key xxx not in .data" bug-reports. Although some attributes could probably be > converted to static ones, this is left for people having hardware to test. > > Found by this semantic patch: > > @

[PATCH 2/2] device_attributes: add sysfs_attr_init() for dynamic attributes

2010-04-01 Thread Wolfram Sang
Made necessary by 6992f5334995af474c2b58d010d08bc597f0f2fe. Prevents further "key xxx not in .data" bug-reports. Although some attributes could probably be converted to static ones, this is left for people having hardware to test. Found by this semantic patch: @ init @ type T; identifier A; @@