Drop of_match_ptr() because OF matching is stubbed out when CONFIG_OF=n.
Indent bcm_spu_pdriver.driver and its members while at it.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
static struct platform_driver bcm_spu_pdriver = {
.driver = {
- .name = "brcm-spu-crypto",
- .of_match_table = of_match_ptr(bcm_spu_dt_ids),
- },
+ .name = "brcm-spu-crypto",
+ .of_match_table = bcm_spu_dt_ids,
+ },
.probe = bcm_spu_probe,
.remove = bcm_spu_remove,
};
.remove = qcom_rng_remove,
.driver = {
.name = KBUILD_MODNAME,
- .of_match_table = of_match_ptr(qcom_rng_of_match),
+ .of_match_table = qcom_rng_of_match,
.acpi_match_table = ACPI_PTR(qcom_rng_acpi_match),
}
};