[PATCH 0/2] constify regmap_bus structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These regmap_bus structures are only passed as the second argument to
__devm_regmap_init or __regmap_init, both of which are const, so the
regmap_bus structures can be const too.

Done with the help of Coccinelle.

---

 drivers/base/regmap/regmap-spi.c  |    2 +-
 drivers/base/regmap/regmap-spmi.c |    4 ++--
 drivers/bus/sunxi-rsb.c           |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux