linux/arch/m68k
Heiner Kallweit 39e94fdce4 net: phy: fixed: let fixed_phy_add always use addr 0 and remove return value
We have only two users of fixed_phy_add(), both use address 0 and
ignore the return value. So simplify fixed_phy_add() accordingly.

Whilst at it, constify the fixed_phy_status configs.

Note:
fixed_phy_add() is a legacy function which shouldn't be used in new
code, as it's use may be problematic:
- No check whether a fixed phy exists already at the given address
- If fixed_phy_register() is called afterwards by any other driver,
  then it will also use phy_addr 0, because fixed_phy_add() ignores
  the ida which manages address assignment
Drivers using a fixed phy created by fixed_phy_add() in platform code,
should dynamically create a fixed phy with fixed_phy_register()
instead.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/762700e5-a0b1-41af-aa03-929822a39475@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
History 2025-08-26 17:19:02 -07:00
..
68000 m68knommu: updates and fixes for v6.7 2023-11-02 15:31:01 -10:00
amiga m68k: remove unneeded tty includes 2025-06-17 13:42:33 +02:00
apollo m68k: remove unneeded tty includes 2025-06-17 13:42:33 +02:00
atari m68k: remove unneeded tty includes 2025-06-17 13:42:33 +02:00
bvme6000 m68k: Replace GPL 2.0+ README.legal boilerplate with SPDX 2023-10-06 10:03:04 +02:00
coldfire net: phy: fixed: let fixed_phy_add always use addr 0 and remove return value 2025-08-26 17:19:02 -07:00
configs Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
emu m68k updates for v6.11 2024-07-16 11:30:32 -07:00
fpsp040 m68k: fpsp040: Fix indentation by 5 spaces 2023-10-16 14:30:40 +02:00
hp300 serial: 8250: Move hp300_setup_serial_console() to <linux/serial_8250.h> 2024-01-27 19:01:39 -08:00
ifpsp060 m68k: Replace GPL 2.0+ README.legal boilerplate with SPDX 2023-10-06 10:03:04 +02:00
include m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
kernel m68k updates for v6.17 2025-07-29 20:19:47 -07:00
lib m68k: Use kernel's generic muldi3 libgcc function 2024-12-09 13:29:17 +01:00
mac m68k updates for v6.17 2025-07-29 20:19:47 -07:00
math-emu m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
mm m68k: mm: Convert pointer table macros to use ptdescs 2025-06-30 21:20:17 +02:00
mvme16x m68k: mvme147, mvme16x: Adopt rtc-m48t59 platform driver 2024-11-22 20:59:40 +01:00
mvme147 RTC for 6.13 2024-11-30 11:18:16 -08:00
q40 m68k: remove unneeded tty includes 2025-06-17 13:42:33 +02:00
sun3 m68k: sun3: Fix DEBUG_MMU_EMU build 2025-02-03 14:32:51 +01:00
sun3x m68k: sun3/3x: Add and use "sun3.h" 2023-10-06 10:03:04 +02:00
tools/amiga m68k: tools: Replace zero-length array with flexible-array member 2020-05-25 10:55:56 +02:00
virt m68k: Rework BI_VIRT_RNG_SEED as BI_RNG_SEED 2022-09-28 22:16:44 +02:00
install.sh kbuild: Abort make on install failures 2024-07-20 13:34:54 +09:00
Kbuild m68k: Introduce a virtual m68k machine 2022-04-11 11:48:01 +02:00
Kconfig m68k: Enable dead code elimination 2025-07-06 12:50:50 +02:00
Kconfig.bus m68k: coldfire: drop ISA_DMA_API support 2022-05-16 13:18:30 +10:00
Kconfig.cpu m68k: Select M68020 as fallback for classic 2024-11-06 15:10:14 +01:00
Kconfig.debug m68k: Don't unregister boot console needlessly 2025-07-06 12:50:50 +02:00
Kconfig.devices m68k: /proc/hardware should depend on PROC_FS 2023-02-13 11:34:49 +01:00
Kconfig.machine m68k: Move Sun 3 into a top-level platform option 2024-11-06 15:10:14 +01:00
Makefile kbuild: use 4-space indentation when followed by conditionals 2024-02-15 06:05:44 +09:00