diff options
| author | Alban Bedel <albeu@free.fr> | 2019-01-28 15:55:00 +0000 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-31 16:24:14 +0100 | 
| commit | 1716cfe8be4974741e56529aa7076f244aed9ade (patch) | |
| tree | 087b0a5fef185c29f77d8e9cea3fa1aa4d668a9c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | ffbc34bf0e9c66fd4c64a78ffd7bdec3de388387 (diff) | |
nvmem: core: Set the provider read-only when no write callback is given
If no write callback is given the device should be marked as read-only.
While at it also move from a bit or to a logical or as that is a logical
expression.
Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
