16 Jan, 2013
2 commits
-
The clk_lookup entry is dropped at remove time by a call to
clkdev_drop(). That function frees the entry, which is also freed by the
driver core as it has been allocated through devm_kzalloc(). This
results in a double free.Use kzalloc() instead of devm_kzalloc() to fix this.
Signed-off-by: Laurent Pinchart
Signed-off-by: Mike Turquette -
container_of() never returns NULL, thus remove the NULL checking for it.
Also rename get_max77686_clk() to to_max77686_clk() for better readability.Signed-off-by: Axel Lin
Signed-off-by: Mike Turquette
12 Jan, 2013
1 commit
-
devm_kzalloc returns NULL on failure.
Signed-off-by: Axel Lin
Signed-off-by: Mike Turquette
29 Nov, 2012
3 commits
-
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.Signed-off-by: Bill Pemberton
Acked-by: Mike Turquette
Acked-by: Mark Brown
Signed-off-by: Greg Kroah-Hartman -
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.Signed-off-by: Bill Pemberton
Acked-by: Mike Turquette
Acked-by: Mark Brown
Signed-off-by: Greg Kroah-Hartman -
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.Signed-off-by: Bill Pemberton
Acked-by: Mike Turquette
Acked-by: Mark Brown
Signed-off-by: Greg Kroah-Hartman
07 Sep, 2012
1 commit
-
This patch supports max77686 mfd's clock driver using common clock frame work.
max77686 has 3 clock ouputs which all are generated from crystal oscillator and
SOC can enable/disable them via I2C bus. All clocks are fixed-rate clock sources
so that it doesn't supply interface for changing clock rate.
Driver uses regmap API to communicate with internal register.Signed-off-by: Jonghwa Lee
Signed-off-by: Mike Turquette