From: Guenter Roeck Date: Wed, 22 Feb 2012 16:56:44 +0000 (-0800) Subject: hwmon: (pmbus) Simplify remove functions X-Git-Tag: v3.4-rc1~167^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd285ad7373bf5d21cceacb3b7a5eb8b72d37085;p=pandora-kernel.git hwmon: (pmbus) Simplify remove functions Since devm_kzalloc() is now used to allocate driver memory, the client driver remove function has no purpose other than to call pmbus_do_remove(). This means we can get rid of it by redefining pmbus_do_remove() to use the same prototype, and pointing to it directly. Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed