]> git.itanic.dy.fi Git - linux-stable/commit
soc: renesas: Remove duplicate setup of soc_device_attribute.family
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 Dec 2023 13:32:03 +0000 (14:32 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 13 Dec 2023 16:22:43 +0000 (17:22 +0100)
commita6921e6f41e8237ac355aac242cca237251a07a1
tree2214211a2fa308025d50d52ef8033b5d7698a88f
parentb85ea95d086471afb4ad062012a4d73cd328fa86
soc: renesas: Remove duplicate setup of soc_device_attribute.family

As of commit 3f84aa5ec052dba9 ("base: soc: populate machine name in
soc_device_register if empty") in v6.4, soc_device_register() fills in
soc_device_attribute.family when it is still empty.  Hence the identical
code in renesas_soc_init() doing the same can be removed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/4c5e4d0d1819028466748ed684254fec41aae816.1701696627.git.geert+renesas@glider.be
drivers/soc/renesas/renesas-soc.c