[U-Boot] [PATCH v3 9/9] fs/fat: Clean up open-coded sector <-> cluster conversions

Simon Glass
2017-09-12T12:29:24Z

On 9 September 2017 at 11:16, Rob Clark <robdclark@gmail.com> wrote:
> Use the clust_to_sect() helper that was introduced earlier, and add an
> inverse sect_to_clust(), plus update the various spots that open-coded
> this conversion previously.
>
> Signed-off-by: Rob Clark <robdclark@gmail.com>
> ---
> fs/fat/fat.c | 8 +++-----
> fs/fat/fat_write.c | 8 +++-----
> include/fat.h | 6 +++++-
> 3 files changed, 11 insertions(+), 11 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>