hwmon: (f71882fg) Secure chip property definition arrays
authorJean Delvare <khali@linux-fr.org>
Sat, 26 Mar 2011 09:45:01 +0000 (10:45 +0100)
committerJean Delvare <khali@endymion.delvare>
Sat, 26 Mar 2011 09:45:01 +0000 (10:45 +0100)
commit2740c60c4ab9a8c6169d7925014f57440361f698
treefc89a1db0abc6c4be21c876c761d3fa51aff624a
parent16c29dafcc86024048f1dbb8349d31cb22c7c55a
hwmon: (f71882fg) Secure chip property definition arrays

Using C99-style array initialization will ensure definitions won't
drift if the chips enum gets new values added.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f71882fg.c