Re: [PATCH 0/2] hwmon: (ina2xx) code clean-up and minor fixes

From: Guenter Roeck
Date: Mon Jan 12 2015 - 09:25:12 EST


On 01/12/2015 05:47 AM, Bartosz Golaszewski wrote:
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

Both applied to -next.

Thanks,
Guenter


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/