linux-next: build warning after merge of the hwmon-staging tree

From: Stephen Rothwell
Date: Wed Jun 05 2019 - 20:38:37 EST


Hi all,

After merging the hwmon-staging tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/hwmon/pmbus/adm1275.c: In function 'adm1275_write_pmon_config':
drivers/hwmon/pmbus/adm1275.c:179:23: warning: unused variable 'data' [-Wunused-variable]
struct adm1275_data *data = to_adm1275_data(info);
^~~~

Introduced by commit

438318513375 ("hwmon: (pmbus/adm1275) support PMBUS_VIRT_*_SAMPLES")

--
Cheers,
Stephen Rothwell

Attachment: pgpHdGjpPB5i8.pgp
Description: OpenPGP digital signature