diff options
author | Krzysztof Kozlowski <[email protected]> | 2021-04-15 10:44:12 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-04-15 14:00:15 +0200 |
commit | e614740a063ff8a87930861674e64347d4b091ba (patch) | |
tree | d32dfe6c752fe26c9c7a7165ec1d81599a756b9a /tools/perf/util/trace-event-scripting.c | |
parent | 90cdaa84c57dbf29e4a70d6e1204224f662f4873 (diff) |
mmc: sdhci-s3c: constify uses of driver/match data
The driver data (struct sdhci_s3c_drv_data) stored in of_device_id
table is allocated as const and used only in const-way. Skip
unnecessary const-away casts and convert all users to work with pointer
to const. This is both more logical and safer.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Sylwester Nawrocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions