atxp1: Signed/unsigned char bug fix
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 28 Aug 2006 12:18:14 +0000 (14:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:12 +0000 (15:31 -0700)
commitc41bdb526bca5cda5be3de8c112f63c400bf990f
tree8a1cd935598c827baa83cbbefbc532cca6e0f7ea
parent563daaf4047464eef5ffcb46194a99c1a8f2260e
atxp1: Signed/unsigned char bug fix

vid_to_reg() can return -1 and char can be unsigned.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/atxp1.c