Only comment I would have is that it might make sense to use DIV_ROUND_CLOSEST(). That is a minor issue, though, so feel free to add
Acked-by: Guenter Roeck guenter.roeck@ericsson.com
Question is where this is going. I can not add it to hwmon-next without the matching mfd changes. Any idea ?
This patch will depends on DA9052 MFD which is already merged in main line. However this also depends on a incremental patch for MFD which is yet to get ACK but soon should be in.
Thanks, Guenter