hwmon: (pkgtemp) align driver initialization style with coretemp
authorChen Gong <gong.chen@linux.intel.com>
Fri, 8 Oct 2010 05:53:35 +0000 (05:53 +0000)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 25 Oct 2010 21:11:20 +0000 (14:11 -0700)
commitfd53d08465a79d742a297be1d7d173f8a13972a6
tree600fcad9649d689916153bc7fac38b0c17d46da2
parente5f5c99a39375ce533aacfdfb269978070121e1c
hwmon: (pkgtemp) align driver initialization style with coretemp

pkgtemp is derived from coretemp, so some reasonable
logics should be applied onto pkgtemp, too. Such as
the init logic here.

Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/pkgtemp.c