commit | 265edc03d5a19550d92cbd6e10631d5a15bdd1d5 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Sat Sep 09 13:16:00 2017 -0400 |
committer | Tom Rini <trini@konsulko.com> | Fri Sep 15 09:03:15 2017 -0400 |
tree | d1275a8421fe74498d39d61059595c5648845eb2 | |
parent | 21a24c3bf35bac83d66ce4a48eb0c7dd8a7227cb [diff] |
fs/fat: Clean up open-coded sector <-> cluster conversions 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> Reviewed-by: Simon Glass <sjg@chromium.org>