On Tue, May 28, 2013 at 09:13:15PM -0500, H Hartley Sweeten wrote:
> > But let's take a step back, what are you trying to do by creating a new
> > sysfs directory? You should never create a subdir in the device tree in
> > sysfs, that is not a 'struct device'. That is because udev / userspace
> >
On Tuesday, May 28, 2013 6:56 PM, Greg Kroah-Hartman wrote:
> On Tue, May 28, 2013 at 08:46:58PM -0500, H Hartley Sweeten wrote:
>> Greg,
>>
>> I'm trying to create a simple directory in the sysfs hierarchy following
>> Documentation/kobject.txt and samples/kobject-example.c.
>
> Hint, don't :)
T
On Tue, May 28, 2013 at 08:46:58PM -0500, H Hartley Sweeten wrote:
> Greg,
>
> I'm trying to create a simple directory in the sysfs hierarchy following
> Documentation/kobject.txt and samples/kobject-example.c.
Hint, don't :)
> I have been able to create the subdirectory and attributes but now
>
Greg,
I'm trying to create a simple directory in the sysfs hierarchy following
Documentation/kobject.txt and samples/kobject-example.c.
I have been able to create the subdirectory and attributes but now
I'm stuck.
In the sample, the attribute files all use static data (foo, baz, bar).
Is there a