diff options
| author | Bartosz Golaszewski <[email protected]> | 2015-01-12 14:47:22 +0100 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2015-01-25 21:23:59 -0800 |
| commit | b721fe2a3a92b896ba1b41e338471dfef672052a (patch) | |
| tree | d982f8763a82b764cbe2d62308f7a6a11e4c73f3 /drivers/gpu/drm/omapdrm/omap_irq.c | |
| parent | 71eb7c4c7e6219a484c5185919962a99fb0ddabb (diff) | |
hwmon: (ina2xx) use DIV_ROUND_CLOSEST() to avoid rounding errors
Use DIV_ROUND_CLOSEST() when dealing with the calibration values to make the
calculations less error prone.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
0 files changed, 0 insertions, 0 deletions