aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-uniphier.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-07-09 15:57:44 -0500
committerWolfram Sang <wsa@the-dreams.de>2017-08-12 13:25:17 +0200
commit8dc0f8c73c54c9d1a7fe8188ef3e70123a960eaf (patch)
treeac612d01c7017ac87b200576fa4d005d1363a24c /drivers/i2c/busses/i2c-uniphier.c
parenti2c: Convert to using %pOF instead of full_name (diff)
downloadlinux-dev-8dc0f8c73c54c9d1a7fe8188ef3e70123a960eaf.tar.xz
linux-dev-8dc0f8c73c54c9d1a7fe8188ef3e70123a960eaf.zip
i2c: constify internal structures
Check for i2c_algorithm and i2c_adapter_quirks structures that are only stored in the algo and quirks fields of an i2c_adapter structure correspondingly. These fields are declared const, so i2c_algorithm and i2c_adapter_quirks structures that have this property can be declared as const also. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> (for designware) Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-uniphier.c')
0 files changed, 0 insertions, 0 deletions