[PATCH V3 2/2] watchdog: Read device status through sysfs attributes

2015-09-02 Thread Pratyush Anand
This patch adds following attributes to watchdog device's sysfs interface to read its different status. * state - reads whether device is active or not * identity - reads Watchdog device's identity string. * timeout - reads current timeout. * timeleft - reads timeleft before watchdog generates a

[PATCH V3 2/2] watchdog: Read device status through sysfs attributes

2015-09-02 Thread Pratyush Anand
This patch adds following attributes to watchdog device's sysfs interface to read its different status. * state - reads whether device is active or not * identity - reads Watchdog device's identity string. * timeout - reads current timeout. * timeleft - reads timeleft before watchdog generates a