Re: [U-Boot] [PATCH 03/11] fs: Use filesystem methods instead of switch()

2013-03-01 Thread Tom Rini
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-

[U-Boot] [PATCH 03/11] fs: Use filesystem methods instead of switch()

2012-12-26 Thread Simon Glass
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 --- fs/fs.c | 60 ++---