From: Axel Lin Date: Wed, 11 Jan 2012 09:19:45 +0000 (+0800) Subject: power_supply: Fix modalias for charger-manager X-Git-Tag: v3.3-rc4~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bbe24d465db626fed050e0128a7244b9cb407f4;p=pandora-kernel.git power_supply: Fix modalias for charger-manager Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is prefixed with "platform:". Current code has the id_table, thus add MODULE_DEVICE_TABLE will automatically setup the modalias. Also make charger_manager_id static as it is only used in this driver. Signed-off-by: Axel Lin Acked-by: MyungJoo Ham Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed