From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Jarzmik Subject: Re: [PATCH 2/7] spi: pxa2xx: derive struct chip_data from struct drv_data Date: Sun, 25 Oct 2015 12:42:23 +0100 Message-ID: <87oafnkwdc.fsf@belgarion.home> References: <1445521485-2029-1-git-send-email-jarkko.nikula@linux.intel.com> <1445521485-2029-2-git-send-email-jarkko.nikula@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Brown , Daniel Mack , Haojian Zhuang , Andy Shevchenko To: Jarkko Nikula Return-path: In-Reply-To: <1445521485-2029-2-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> (Jarkko Nikula's message of "Thu, 22 Oct 2015 16:44:40 +0300") Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Jarkko Nikula writes: > From: Andy Shevchenko > > Since we call pxa2xx_ssp_get_clk_div() from pump_transfers() we may derive > pointer to struct chip_data from struct drv_data like it's done in the rest > of the functions. This will make it less errorprone. > > Signed-off-by: Andy Shevchenko > Signed-off-by: Jarkko Nikula Acked-by: Robert Jarzmik Cheers. -- Robert -- 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