From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH] spi: sh-hspi: Remove duplicate code to set default transfer speed Date: Sun, 2 Mar 2014 20:41:12 +0100 Message-ID: References: <1393772510.4044.9.camel@phoenix> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Mark Brown , Kuninori Morimoto , linux-spi To: Axel Lin Return-path: In-Reply-To: <1393772510.4044.9.camel@phoenix> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Sun, Mar 2, 2014 at 4:01 PM, Axel Lin wrote: > In the implementation of __spi_validate(), spi core will use spi device's max > speed as default transfer speed if it is not set for this transfer. > So we can remove the same logic in hspi_hw_setup(). > > Signed-off-by: Axel Lin Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html