Re: [PATCH 5/6] spi: altera: move driver name string to header file

2020-06-11 Thread Xu Yilun
On Thu, Jun 11, 2020 at 03:03:01PM +0100, Mark Brown wrote: > On Thu, Jun 11, 2020 at 11:25:10AM +0800, Xu Yilun wrote: > > This allows other driver to reuse the name string for spi-altera > > platform device creation. > > This is a very unusual thing to do, normally we just have the users use > t

Re: [PATCH 5/6] spi: altera: move driver name string to header file

2020-06-11 Thread Mark Brown
On Thu, Jun 11, 2020 at 11:25:10AM +0800, Xu Yilun wrote: > This allows other driver to reuse the name string for spi-altera > platform device creation. This is a very unusual thing to do, normally we just have the users use the strong directly. It feels like if we are going to change this idiom

[PATCH 5/6] spi: altera: move driver name string to header file

2020-06-10 Thread Xu Yilun
This allows other driver to reuse the name string for spi-altera platform device creation. Signed-off-by: Matthew Gerlach Signed-off-by: Wu Hao Signed-off-by: Xu Yilun Signed-off-by: Russ Weight --- drivers/spi/spi-altera.c | 6 ++ include/linux/spi/altera.h | 2 ++ 2 files changed, 4 i