diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-17 16:01:22 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-17 14:41:07 +0100 |
commit | d6c7d73192052eb90e782c626ecaf328c7e9bc6e (patch) | |
tree | 9de4e10b460523b3ac71f44e28d12d7a01179110 /drivers/leds/leds-lm355x.c | |
parent | 416d67599e744bcaef4a5ac45d263a630351b778 (diff) |
regulator: as3711: Use a static of_regulator_match table for of_regulator_match
The same table can be used for multiple instance of pdev, so we don't need to
allocate memory for of_regulator_match table per pdev.
match->driver_data points to the corresponding entry of as3711_reg_info,
however it is not used in current code, thus this patch does not set
driver_data in the of_regulator_match table.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/leds/leds-lm355x.c')
0 files changed, 0 insertions, 0 deletions