Re: [PATCH V3 1/2] watchdog: Use static struct class watchdog_class in stead of pointer

2015-09-03 Thread Guenter Roeck
On 09/02/2015 08:21 PM, Pratyush Anand wrote: We need few sysfs attributes to know different status of a watchdog device. To do that, we need to associate .dev_groups with watchdog_class. So convert it from pointer to static. Putting this static struct in watchdog_dev.c, so that static device att

[PATCH V3 1/2] watchdog: Use static struct class watchdog_class in stead of pointer

2015-09-02 Thread Pratyush Anand
We need few sysfs attributes to know different status of a watchdog device. To do that, we need to associate .dev_groups with watchdog_class. So convert it from pointer to static. Putting this static struct in watchdog_dev.c, so that static device attributes defined in that file can be attached to