public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] power: clean up bin attribute read/write functions
@ 2015-07-26 21:26 Vladimir Zapolskiy
  2015-07-26 21:26 ` [PATCH 1/3] power: ds2780_battery: clean up eeprom " Vladimir Zapolskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vladimir Zapolskiy @ 2015-07-26 21:26 UTC (permalink / raw)
  To: Sebastian Reichel, Dmitry Eremin-Solenikov, David Woodhouse
  Cc: linux-pm, Greg Kroah-Hartman

This change removes a number of redundant checks on bin attribute
client's side, the same checks are done by sysfs_kf_bin_read() or
sysfs_kf_bin_write() caller from fs/sysfs/file.c.

No functional change, hopefully.

Vladimir Zapolskiy (3):
  power: ds2780_battery: clean up eeprom read/write functions
  power: ds2781_battery: clean up eeprom read/write functions
  power: olpc_battery: clean up eeprom read function

 drivers/power/ds2780_battery.c | 20 ++------------------
 drivers/power/ds2781_battery.c |  8 --------
 drivers/power/olpc_battery.c   |  7 +------
 3 files changed, 3 insertions(+), 32 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2015-07-27 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26 21:26 [PATCH 0/3] power: clean up bin attribute read/write functions Vladimir Zapolskiy
2015-07-26 21:26 ` [PATCH 1/3] power: ds2780_battery: clean up eeprom " Vladimir Zapolskiy
2015-07-26 21:26 ` [PATCH 2/3] power: ds2781_battery: " Vladimir Zapolskiy
2015-07-26 21:26 ` [PATCH 3/3] power: olpc_battery: clean up eeprom read function Vladimir Zapolskiy
2015-07-27 14:43 ` [PATCH 0/3] power: clean up bin attribute read/write functions Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox