On Fri, Mar 04, 2022 at 09:01:03PM +0000, Luck, Tony wrote: > >> You could just cut to the chase and do: sysfs_eq(buf, "1") > > > > Thanks will use this > > $ git grep sysfs_eq > $ > > I don't see this defined (or used) anywhere in the kernel. Is > it spelled differently from how typed here? Just to close out this thread ... the function name that Dan was looking for was sysfs_streq(). -Tony