All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V5 0/2] watchdog: Sysfs status read support
@ 2015-12-17 12:23 Pratyush Anand
  2015-12-17 12:23 ` [PATCH V5 1/2] watchdog: Use static struct class watchdog_class in stead of pointer Pratyush Anand
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Pratyush Anand @ 2015-12-17 12:23 UTC (permalink / raw)
  To: wim; +Cc: dyoung, dzickus, linux, linux-watchdog, Pratyush Anand

These patches provide support to read different watchdog device status
through sysfs interface.
 
Changes since V4:
* All sysfs code has been protected under CONFIG_WATCHDOG_SYSFS

Changes since V3:                                                                                    
* Added Reviewed by tag
* Corrected a checkpatch warning             

Changes since V2: 
* Used static struct class watchdog_class in stead of pointer. It helped to 
keep using device_create(). 
* Above logic was moved to a separate patch.  Changed subject line of other
patch to look more relevant  

Changes since V1(RFC): 
* Removed keepalive and start ABI
* timeout is read only now
* state returns text
* only supported ABI visible
* ABI contact changed to MAINTAINER
* unnecessary mutex removed
* aligned continuation with '('
* unnecessary initialization of status (= 0) corrected
* unnecessary else removed
* used __ATTRIBUTE_GROUPS
* removed watchdog_device_create and added functionality in
* watchdog_dev_register.
* optimized nowayout_show
* Now no -EOPNOTSUPP return for timeout read in case of
* wdd->timeout = 0.         

Pratyush Anand (2):
  watchdog: Use static struct class watchdog_class in stead of pointer
  watchdog: Read device status through sysfs attributes

 Documentation/ABI/testing/sysfs-class-watchdog |  51 +++++++++
 drivers/watchdog/Kconfig                       |   7 ++
 drivers/watchdog/watchdog_core.c               |  17 +--
 drivers/watchdog/watchdog_core.h               |   2 +-
 drivers/watchdog/watchdog_dev.c                | 140 ++++++++++++++++++++++++-
 5 files changed, 198 insertions(+), 19 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-watchdog

-- 
2.5.0

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-12-28  4:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-17 12:23 [PATCH V5 0/2] watchdog: Sysfs status read support Pratyush Anand
2015-12-17 12:23 ` [PATCH V5 1/2] watchdog: Use static struct class watchdog_class in stead of pointer Pratyush Anand
2015-12-17 14:56   ` Guenter Roeck
2015-12-19  4:22     ` Pratyush Anand
2015-12-19 16:21       ` Guenter Roeck
2015-12-21 15:52       ` Guenter Roeck
2015-12-21 16:13         ` Pratyush Anand
2015-12-17 12:23 ` [PATCH V5 2/2] watchdog: Read device status through sysfs attributes Pratyush Anand
2015-12-17 12:23   ` Pratyush Anand
2015-12-17 14:53   ` Guenter Roeck
2015-12-27 16:57 ` [PATCH V5 0/2] watchdog: Sysfs status read support Wim Van Sebroeck
2015-12-28  4:14   ` Pratyush Anand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.