Axel Lin
f40cbcb933
regulator: max8907: Fix using wrong dev argument for calling of_regulator_match
...
The dev parameter is the device requesting the data.
In this case it should be &pdev->dev rather than pdev->dev.parent.
The dev parameter is used to call devm_kzalloc in of_get_regulator_init_data(),
which means this fixes a memory leak because the memory is allocated every time
probe() is called, thus it should be freed when this driver is unloaded.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-27 10:53:03 +08:00
..
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2013-01-03 15:57:04 -08:00
2012-12-10 12:42:55 +09:00
2012-12-10 12:42:55 +09:00
2012-11-27 20:25:18 +00:00
2013-01-03 13:02:39 +00:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:42:55 +09:00
2013-01-03 15:57:04 -08:00
2012-11-20 10:31:26 +09:00
2012-11-20 10:53:38 +09:00
2012-01-20 12:01:29 +00:00
2012-11-20 10:31:26 +09:00
2010-10-28 22:40:32 +01:00
2012-11-20 10:53:38 +09:00
2012-06-19 23:22:30 +01:00
2013-01-03 15:57:04 -08:00
2013-01-03 15:57:04 -08:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:42:59 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:42:57 +09:00
2012-12-10 12:42:57 +09:00
2012-12-10 12:42:59 +09:00
2012-12-10 12:42:58 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2013-01-27 10:53:03 +08:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2013-01-03 15:57:04 -08:00
2013-01-08 11:14:35 +00:00
2013-01-10 12:55:49 +00:00
2012-12-10 12:42:58 +09:00
2012-11-20 10:31:26 +09:00
2012-08-28 11:00:27 -07:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-09-25 13:44:47 +01:00
2013-01-03 15:57:04 -08:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:43:00 +09:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:43:19 +09:00
2012-12-24 16:24:37 +00:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:31:26 +09:00
2012-12-10 12:43:29 +09:00
2012-12-10 12:43:24 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:43:27 +09:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:43:30 +09:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:43:32 +09:00
2013-01-03 15:57:04 -08:00
2012-04-18 10:26:24 +01:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-12-10 12:43:33 +09:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00
2012-06-17 20:53:58 +01:00
2012-11-20 10:53:38 +09:00
2012-11-20 10:53:38 +09:00