hwmon: (mcp3021) Prepare MCP3021 driver to support other chips
authorSven Schuchmann <schuchmann@schleissheimer.de>
Fri, 21 Sep 2012 11:04:21 +0000 (13:04 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 24 Sep 2012 04:08:36 +0000 (21:08 -0700)
commit8b662f38e066d8fc1b73a8655da547c348206904
tree8b4098e594041bf1df6dbc3e6c34b56cf3cef17d
parenta91698135bef4e945b0eee1b676d6ea5085177dc
hwmon: (mcp3021) Prepare MCP3021 driver to support other chips

This Patch is to prepare the MCP3021 driver to support
other chips like the MCP3221. The hard defined chip data
is now stored within the data struct of each chip.

Signed-off-by: Sven Schuchmann <schuchmann@schleissheimer.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/mcp3021.c