Re: [PATCH -next v2] spi: introduce new helpers with using modern naming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Mark

On 2022/10/11 17:22, Yang Yingliang wrote:
For using modern names host/target to instead of all the legacy names,
I think it takes 3 steps:
   - step1: introduce new helpers with modern naming.
   - step2: switch to use these new helpers in all drivers.
   - step3: remove all legacy helpers and update all legacy names.

This patch is for step1, it introduces new helpers with host/target
naming for drivers using.

Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
---
v1 -> v2:
   make 'target' member into union to initialize it.
---
  drivers/spi/spi.c       | 11 ++++++++++
  include/linux/spi/spi.h | 47 +++++++++++++++++++++++++++++++++++++++--
  2 files changed, 56 insertions(+), 2 deletions(-)

Does this patch look good to you or do you have any suggestion?

Thanks,
Yang



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux