Dear Trent Piepho, > It can't be called with a NULL transfer anymore so it can be > simplified to not check for that. > > Change printouts to more closely match what the spi core would print. > I.e., don't print function names. Try to make them clearer. > > Fix indention of line-wrapped code to Linux standard. > > The transfer pointer can be const. > > It's not necessary to check if the spi_transfer's bit per word is > zero. The spi core automatically inserts the spi_device's bits per > word in that case. > > It's not necessary to check if the spi_transfer's speed_hz is zero, as > the spi core also fills it in from the spi_device. However, the spi > core does not check if spi_device's speed is zero so we have to do > that still. > > Signed-off-by: Trent Piepho <tpie...@gmail.com> > Cc: Marek Vasut <ma...@denx.de> > Cc: Fabio Estevam <fabio.este...@freescale.com> > Cc: Shawn Guo <shawn....@linaro.org>
Ok, this is again combining cleanup and fixup/feature changes. You know what to do by now. btw it might be nice to reorder the series so that cleanups go in first as they're easy and fixes afterwards. Best regards, Marek Vasut ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ spi-devel-general mailing list spi-devel-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spi-devel-general