pwm: Remove __init initializer for pwm_add_table()
authorShobhit Kumar <shobhit.kumar@intel.com>
Thu, 12 Mar 2015 16:31:31 +0000 (22:01 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 23 Apr 2015 12:50:52 +0000 (14:50 +0200)
commitc264f1110d27185f8531602f5fce400a6bbce946
tree77a04d832d82270810233f54c243ceba903ec9b8
parent4a1c683c98e4e2997c79258bffbb9be4af4fba83
pwm: Remove __init initializer for pwm_add_table()

For platforms that don't support DT, some early MFD modules can register
lookup tables. Remove the __init annotation so that this works. This is
similar to gpio_add_lookup_table() which allows late additions.

CC: Samuel Ortiz <sameo@linux.intel.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c