power_supply: Fix modalias for charger-manager
authorAxel Lin <axel.lin@gmail.com>
Wed, 11 Jan 2012 09:19:45 +0000 (17:19 +0800)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 1 Feb 2012 17:29:52 +0000 (21:29 +0400)
commit1bbe24d465db626fed050e0128a7244b9cb407f4
tree2809ccfdf8a0e3df9f3596bf270d192be75a6bd8
parentda4dc0af6eeb131927fb602846437a50a42ca246
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 <axel.lin@gmail.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/charger-manager.c
This page took 0.029025 seconds and 5 git commands to generate.