[PATCH V2] watchdog: Add watchdog device control through sysfs attributes

2015-08-31 Thread Pratyush Anand
This patch adds following attributes to watchdog device's sysfs interface. * 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 reset * bootstatus - reads

[PATCH V2] watchdog: Add watchdog device control through sysfs attributes

2015-08-31 Thread Pratyush Anand
This patch adds following attributes to watchdog device's sysfs interface. * 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 reset * bootstatus - reads