Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1709336 > unrolled thread
| Started by | Julia Lawall <Julia.Lawall@lip6.fr> |
|---|---|
| First post | 2017-08-11 09:30 +0200 |
| Last post | 2017-08-11 09:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 0/2] constify regmap_bus structures Julia Lawall <Julia.Lawall@lip6.fr> - 2017-08-11 09:30 +0200
| From | Julia Lawall <Julia.Lawall@lip6.fr> |
|---|---|
| Date | 2017-08-11 09:30 +0200 |
| Subject | [PATCH 0/2] constify regmap_bus structures |
| Message-ID | <udcyl-A7-3@gated-at.bofh.it> |
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(-)
Back to top | Article view | linux.kernel
csiph-web