Re: [PATCH v2] hwmon: (ina3221) Use _info API to register hwmon device

2018-10-09 Thread Guenter Roeck
On Mon, Oct 08, 2018 at 01:14:24PM -0700, Nicolin Chen wrote: > The hwmon core has a newer API which abstracts most of common > things in the core so as to simplify the hwmon device drivers. > > This patch implements this _info API to ina3221 hwmon driver. > > It also reduces the binary size: >

[PATCH v2] hwmon: (ina3221) Use _info API to register hwmon device

2018-10-08 Thread Nicolin Chen
The hwmon core has a newer API which abstracts most of common things in the core so as to simplify the hwmon device drivers. This patch implements this _info API to ina3221 hwmon driver. It also reduces the binary size: textdata bss dec hex filename 51141712 06