> > +{ > > + return sysfs_emit(buf, "integer\n"); > > Lukas Wunner might have done something to make emitting constant strings > easier, please check out if that's already in mainline. Found it, DEVICE_STRING_ATTR_RO is what you mean?
> > +{ > > + return sysfs_emit(buf, "integer\n"); > > Lukas Wunner might have done something to make emitting constant strings > easier, please check out if that's already in mainline. Found it, DEVICE_STRING_ATTR_RO is what you mean?