[lkml]   [2018]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH V3 1/4] spi: lpspi: Replace all "master" with "controller"
Hi Joe,

This patch series adds slave mode for lpspi controller. So this driver can support both master and slave mode for lpspi controller after apply this patch series. Currently, both master mode and slave mode share the code in this driver. Therefore, using spi_master to represent the structure of slave mode will cause confusion.

When Geert Uytterhoeven add the slave support for spi, he had done " Generalize SPI 'master' to 'controller'" step, too. The commit ID is 8caab75fd2c2a92667cbb1cd315720bede3feaa9.

Thank you.

Clark Wang

> -----Original Message-----
> From: Joe Perches <>
> Sent: Saturday, December 8, 2018 13:14
> To: Clark Wang <>;
> Cc:;
> Subject: Re: [PATCH V3 1/4] spi: lpspi: Replace all "master" with "controller"
> On Fri, 2018-12-07 at 02:50 +0000, Clark Wang wrote:
> > In order to enable the slave mode and make the code more readable,
> > replace all related structure names and object names which is named
> > "master" with "controller".
> In what sense does this make the code more readable?

 \ /
  Last update: 2018-12-08 06:43    [W:0.066 / U:31.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site