All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: (ina2xx) code clean-up and minor fixes
@ 2015-01-12 13:47 ` Bartosz Golaszewski
  0 siblings, 0 replies; 8+ messages in thread
From: Bartosz Golaszewski @ 2015-01-12 13:47 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: LKML, Benoit Cousson, Patrick Titiano, LM Sensors, Bartosz Golaszewski

This small series fixes two minor issues in the driver after recent
implementation of new attributes. The first patch removes an unnecessary
result check after calling dev_get_drvdata() and the second one adds
calls to DIV_ROUND_CLOSEST() to avoid rounding errors.

This series is rebased against current hwmon-next.

Bartosz Golaszewski (2):
  hwmon: (ina2xx) remove an unnecessary dev_get_drvdata() result check
  hwmon: (ina2xx) use DIV_ROUND_CLOSEST() to avoid rounding errors

 drivers/hwmon/ina2xx.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

-- 
2.1.3


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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-12 13:47 [PATCH 0/2] hwmon: (ina2xx) code clean-up and minor fixes Bartosz Golaszewski
2015-01-12 13:47 ` [lm-sensors] " Bartosz Golaszewski
2015-01-12 13:47 ` [PATCH 1/2] hwmon: (ina2xx) remove an unnecessary dev_get_drvdata() result check Bartosz Golaszewski
2015-01-12 13:47   ` [lm-sensors] " Bartosz Golaszewski
2015-01-12 13:47 ` [PATCH 2/2] hwmon: (ina2xx) use DIV_ROUND_CLOSEST() to avoid rounding errors Bartosz Golaszewski
2015-01-12 13:47   ` [lm-sensors] " Bartosz Golaszewski
2015-01-12 14:23 ` [PATCH 0/2] hwmon: (ina2xx) code clean-up and minor fixes Guenter Roeck
2015-01-12 14:23   ` [lm-sensors] " Guenter Roeck

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.