mbox series

[net-next,v2,00/10] net: fs_enet: Driver cleanup

Message ID cover.1691155346.git.christophe.leroy@csgroup.eu (mailing list archive)
Headers show
Series net: fs_enet: Driver cleanup | expand

Message

Christophe Leroy Aug. 4, 2023, 1:30 p.m. UTC
Over the years, platform and driver initialisation have evolved into
more generic ways, and driver or platform specific stuff has gone
away, leaving stale objects behind.

This series aims at cleaning all that up for fs_enet ethernet driver.

Changes in v2:
- Remove a trailing whitespace in the old struct moved in patch 7.
- Include powerpc people and list that I forgot when sending v1
(and Rob as expected by Patchwork for patch 6, not sure why)

Christophe Leroy (10):
  net: fs_enet: Remove set but not used variable
  net: fs_enet: Fix address space and base types mismatches
  net: fs_enet: Remove fs_get_id()
  net: fs_enet: Remove unused fields in fs_platform_info struct
  net: fs_enet: Remove has_phy field in fs_platform_info struct
  net: fs_enet: Remove stale prototypes from fsl_soc.c
  net: fs_enet: Move struct fs_platform_info into fs_enet.h
  net: fs_enet: Don't include fs_enet_pd.h when not needed
  net: fs_enet: Remove linux/fs_enet_pd.h
  net: fs_enet: Use cpm_muram_xxx() functions instead of cpm_dpxxx()
    macros

 MAINTAINERS                                   |   1 -
 arch/powerpc/platforms/8xx/adder875.c         |   1 -
 arch/powerpc/platforms/8xx/mpc885ads_setup.c  |   1 -
 arch/powerpc/platforms/8xx/tqm8xx_setup.c     |   1 -
 arch/powerpc/sysdev/fsl_soc.c                 |   3 -
 .../ethernet/freescale/fs_enet/fs_enet-main.c |   2 -
 .../net/ethernet/freescale/fs_enet/fs_enet.h  |  19 +-
 .../net/ethernet/freescale/fs_enet/mac-fcc.c  |   4 +-
 .../net/ethernet/freescale/fs_enet/mac-fec.c  |  14 --
 .../net/ethernet/freescale/fs_enet/mac-scc.c  |   8 +-
 .../ethernet/freescale/fs_enet/mii-bitbang.c  |   4 +-
 .../net/ethernet/freescale/fs_enet/mii-fec.c  |   1 +
 include/linux/fs_enet_pd.h                    | 165 ------------------
 13 files changed, 27 insertions(+), 197 deletions(-)
 delete mode 100644 include/linux/fs_enet_pd.h

Comments

Simon Horman Aug. 6, 2023, 3:37 p.m. UTC | #1
On Fri, Aug 04, 2023 at 03:30:10PM +0200, Christophe Leroy wrote:
> Over the years, platform and driver initialisation have evolved into
> more generic ways, and driver or platform specific stuff has gone
> away, leaving stale objects behind.
> 
> This series aims at cleaning all that up for fs_enet ethernet driver.
> 
> Changes in v2:
> - Remove a trailing whitespace in the old struct moved in patch 7.
> - Include powerpc people and list that I forgot when sending v1
> (and Rob as expected by Patchwork for patch 6, not sure why)

Thanks, this looks good to me.

For the series,

Reviewed-by: Simon Horman <horms@kernel.org>
patchwork-bot+netdevbpf@kernel.org Aug. 8, 2023, 10:10 p.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri,  4 Aug 2023 15:30:10 +0200 you wrote:
> Over the years, platform and driver initialisation have evolved into
> more generic ways, and driver or platform specific stuff has gone
> away, leaving stale objects behind.
> 
> This series aims at cleaning all that up for fs_enet ethernet driver.
> 
> Changes in v2:
> - Remove a trailing whitespace in the old struct moved in patch 7.
> - Include powerpc people and list that I forgot when sending v1
> (and Rob as expected by Patchwork for patch 6, not sure why)
> 
> [...]

Here is the summary with links:
  - [net-next,v2,01/10] net: fs_enet: Remove set but not used variable
    https://git.kernel.org/netdev/net-next/c/78d3902795f0
  - [net-next,v2,02/10] net: fs_enet: Fix address space and base types mismatches
    https://git.kernel.org/netdev/net-next/c/ae9e78a9dc88
  - [net-next,v2,03/10] net: fs_enet: Remove fs_get_id()
    https://git.kernel.org/netdev/net-next/c/26bbbef8ff40
  - [net-next,v2,04/10] net: fs_enet: Remove unused fields in fs_platform_info struct
    https://git.kernel.org/netdev/net-next/c/caaf482e2654
  - [net-next,v2,05/10] net: fs_enet: Remove has_phy field in fs_platform_info struct
    https://git.kernel.org/netdev/net-next/c/9359a48c65a3
  - [net-next,v2,06/10] net: fs_enet: Remove stale prototypes from fsl_soc.c
    https://git.kernel.org/netdev/net-next/c/62e106c802c5
  - [net-next,v2,07/10] net: fs_enet: Move struct fs_platform_info into fs_enet.h
    https://git.kernel.org/netdev/net-next/c/7a76918371fe
  - [net-next,v2,08/10] net: fs_enet: Don't include fs_enet_pd.h when not needed
    https://git.kernel.org/netdev/net-next/c/33deffc9f19f
  - [net-next,v2,09/10] net: fs_enet: Remove linux/fs_enet_pd.h
    https://git.kernel.org/netdev/net-next/c/7149b38dc7cb
  - [net-next,v2,10/10] net: fs_enet: Use cpm_muram_xxx() functions instead of cpm_dpxxx() macros
    https://git.kernel.org/netdev/net-next/c/5e6cb39a256d

You are awesome, thank you!