[PATCH] jbt6k74: error checking and possible cleanup.

Stefan Schmidt stefan at datenfreihafen.org
Sun Mar 25 17:48:28 CEST 2007


Hello.

On Sat, 2007-03-24 at 16:14, Stefan Schmidt wrote:
> 
> On Sat, 2007-03-24 at 13:36, Arnaud Patard wrote:
> > 
> > doh... 5 calls to device_create_file() ... now, with the checks, that
> > begins to be ugly. Please consider the use of sysfs_create_group()
> > instead.
> 
> Goof point. I was not aware of sysfs_create_group(). I'll look into
> it.

New version with sysfs_{create, remove}_group attched.

regards
Stefan Schmidt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jbt6k74-error-checking.patch
Type: text/x-diff
Size: 1821 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20070325/7f5aebd8/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 241 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20070325/7f5aebd8/attachment.pgp 


More information about the openmoko-kernel mailing list