Tag: 71242b49a075a580980d9b7845f2c25450018601

regulator: da9*: constify regulator_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The regulator_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Mark Brown — drivers/regulator/da903x.c | 10 +++++—– drivers/regulator/da9052-regulator.c | 4 ++– drivers/regulator/da9055-regulator.c | 4 ++– drivers/regulator/da9062-regulator.c | 4 ++– drivers/regulator/da9063-regulator.c | 4 ++– drivers/regulator/da9210-regulator.c | 2 +- drivers/regulator/da9211-regulator.c | 2 …

Continue reading