diff options
author | Bastian Hecht <hechtb@googlemail.com> | 2012-10-19 12:15:34 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-11-15 15:37:50 +0200 |
commit | e8a9d8f31c592eea89f1b0d3fd425e7a96944e88 (patch) | |
tree | 704a94cb7e7a5ab31e57779c7b719ffc88e1bdda /Documentation | |
parent | 5de0b52ea8f8f5149502867acff2efb5efaf1fc2 (diff) | |
download | op-kernel-dev-e8a9d8f31c592eea89f1b0d3fd425e7a96944e88.zip op-kernel-dev-e8a9d8f31c592eea89f1b0d3fd425e7a96944e88.tar.gz |
mtd: sh_flctl: Minor cleanups
Some small fixes to avoid sparse and smatch complain. Other cosmetic fixes
as well.
- Change of the type of the member index in struct sh_flctl from signed
to unsigned. We use index by addressing array members, so unsigned is more
concise here. Adapt functions relying on sh_flctl::index.
- Remove a blurring cast in write_fiforeg().
- Apply consistent naming scheme when refering to the data buffer.
- Shorten some unnecessarily verbose functions.
- Remove spaces at start of lines.
Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions