From: Tom Rini Date: Fri, 1 Mar 2013 12:35:52 -0500 Subject: [U-Boot] [PATCH 03/11] fs: Use filesystem methods instead of switch() In-Reply-To: <1356551618-8280-4-git-send-email-sjg@chromium.org> References: <1356551618-8280-1-git-send-email-sjg@chromium.org> <1356551618-8280-4-git-send-email-sjg@chromium.org> Message-ID: <20130301173552.GG25797@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Dec 26, 2012 at 11:53:30AM -0800, Simon Glass wrote: > We can use the available methods and avoid using switch(). When the > filesystem is not supported, we fall through to the 'unsupported' > methods: fs_probe_unsupported() prints an error, so the others do > not need to. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: