From: Jens Taprogge Date: Wed, 12 Sep 2012 12:55:39 +0000 (+0200) Subject: Staging: ipack/devices/ipoctal: Clean up device removal. X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~268 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1adda49706ff832e9fc4f4bcb62d38285145307c;p=pandora-kernel.git Staging: ipack/devices/ipoctal: Clean up device removal. Make use of dev_set_drvdata() and dev_get_drvdata() to store and obtain a pointer to the ipoctal struct corresponding to a struct dev. Previously we relied on a private list of devices. Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsalvez Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed