]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: j721e: Drop pointless of_device_get_match_data() cast
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Dec 2021 01:10:39 +0000 (19:10 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Jan 2022 21:01:33 +0000 (15:01 -0600)
commit458933a212be8f6af8eb9306a5e2624bb1f30b00
treed4d46fe103e442d7538ac572bde7c43409489c13
parent757b95d2cc8f17b04bd590bff902c779c9dfbe23
PCI: j721e: Drop pointless of_device_get_match_data() cast

of_device_get_match_data() returns "void *", so no cast is needed when
assigning the result to a pointer type.  Drop the unnecessary cast.

Link: https://lore.kernel.org/r/20211223011054.1227810-9-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Tom Joseph <tjoseph@cadence.com>
drivers/pci/controller/cadence/pci-j721e.c