]> 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)
commit9ef60b0b66d7abd69d9a4a56aa8be1d02407b514
treed4d46fe103e442d7538ac572bde7c43409489c13
parent652f33e8a03b4ab835e45ad5fc3223102b5c331e
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