Messages in this thread | | | Subject | Re: [PATCH RFC 0/2] simple sysfs wrappers for single values | From | Joe Perches <> | Date | Sat, 29 Aug 2020 17:28:27 -0700 |
| |
On Sun, 2020-08-30 at 00:37 +0100, Alex Dewar wrote: > Hi all, > > I've noticed there seems to have been a fair amount of discussion around > the subject of possible helper methods for use in the context of sysfs > show methods (which I haven't had a chance to go through in detail yet > -- sorry!), so I thought I'd send out a couple of patches I've been > working on for this, in case it's of any interest to anyone.
If you really want to do this, I suggest you get use wrappers like sysfs_emit_string, sysfs_emit_int, sysfs_emit_u64 though I don't see _that_ much value.
| |