UBI: fix documentation and improve readability
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 7 Mar 2012 16:56:29 +0000 (18:56 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 21 Jun 2012 11:46:13 +0000 (14:46 +0300)
commite6b5296c3996202cd30ab845f7e6a128e3498b89
tree262cc6b68cafdefe43a677a4de8031fcf0464487
parenta83f4c1659ef1d1adbb307223edbfa6abff1c3bf
UBI: fix documentation and improve readability

The "max" parameter of 'find_wl_entry()' was documented incorrectly and
it actually means the maximum possible difference from the smallest erase
counter. Rename it to "diff" instead, and amend the documentation.

Reported-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Reviewed-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
drivers/mtd/ubi/wl.c