12 Aug
2016
12 Aug
'16
8:26 a.m.
On Thu, 11 Aug 2016 21:02:17 +0200, Andrej Krutak wrote:
The latter seems to create invalid configuration, the device pointer passed to the attr callbacks is not correct afterwards (results into segfaults when accessing the attributes).
As you already considered, this change is moving to a wrong direction. The explicit call of device_create_file() should be reduced as much as possible in general.
Takashi