/* The "foo" file where the .foo variable is read from and written to.  */
static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr, char *buf)
/* The "foo" file where the .foo variable is read from and written to.  */
static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr, char *buf)
{
	return sprintf(buf, "%d\n", foo_obj->foo);
}