Re: [PATCH resend 1/3] hwmon: (lm85) remove freq_map size hardcodes

2019-01-30 Thread Guenter Roeck
On Wed, Jan 30, 2019 at 09:14:45AM -0700, Jeremy Gebben wrote: > > Allow support for chips that support more than 8 frequencies. > The size still must be a power of two. > This is risky. Someone later may not know/remember and expand the table without maintaining that restriction. I would

[PATCH resend 1/3] hwmon: (lm85) remove freq_map size hardcodes

2019-01-30 Thread Jeremy Gebben
Allow support for chips that support more than 8 frequencies. The size still must be a power of two. Signed-off-by: Jeremy Gebben --- drivers/hwmon/lm85.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers/hwmon/lm85.c