]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwmon: (w83627hf) Stop using globals for I/O port numbers
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:49 +0000 (20:35 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:49 +0000 (20:35 +0100)
commitb72656dbc491484765776a16eeb55ef2e90efea6
tree17d8634c2871686b1593f7406f3abb517893075f
parent8918023d40ebb2c086e77368810763975761cb1b
hwmon: (w83627hf) Stop using globals for I/O port numbers

Stop using global variables REG and VAL for I/O port numbers. This is
ugly and unsafe.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Rodolfo Giometti <giometti@linux.it>
drivers/hwmon/w83627hf.c