interconnect fixes for v5.13

This contains two tiny driver fixes:
 
 - bcm-voter: Add missing MODULE_DEVICE_TABLE
 - bcm-voter: Add a missing of_node_put()
 
 Signed-off-by: Georgi Djakov <djakov@kernel.org>
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJgr45VAAoJEIDQzArG2BZjtpsP/0DCs8y80J1CiXyOKAZqGK6X
 HrMf1Yee8z8wrZqtWr9aKWC9cLskN/Pdlk/IQOvZ+LpMajneByLPdmyFbHhjLko3
 d2rGNWV9EMnRvZtbiRudp2e15cw6k4OwITzlMu1HBJsLQiVB81WCgU+pcZce/9e8
 99tyGQ/L/eMCOYAJ9fLhqf+02bDuH2D+wnb1oVLkfYqvDqRFlWFHmkgg7TzGwHOt
 Ws91FPaMEzEK3fsHcfpJTDhfyscHNZIQ21G24t5artqHkOZBmQEbdwlhIthRhZhc
 bqgtIeSpLGBkwFXZmXA4rlaDBB9qEODagpToUVeej4oSQECpQY9SAuW8sT9jJrT+
 eEUcJWqc6D4roNNnvuYVQ3qDWBGzd/SCVUjA6IQUxsiTXDQr/hI5OdxSLdKDND7b
 m8nDp/6LWZ/pXL6iXbaL4OVlZl76Q7Ga1DfcBfC8JLDt/6PzPH66ErihZkNDtbAS
 32ug4qVxJ8SWrFuDM/RtKX50K5drqbng4IFoTtCIpQ4+tdRn0o1WFOCTJzBvAmah
 da9O4rHkoGD12AhZnIvbCXrFspvDd/8/BoMmfqg/TGDL3gSKq1f5YKFGu2QFyCy3
 kVmrrsx1UvjDWC4h5xIPTMgzQqUosTbJmGcGMrIRauJp7JcDzSpX+mV7ijy/J7mB
 ZqhjAk8KruvFL77j1Au+
 =Kwhg
 -----END PGP SIGNATURE-----

Merge tag 'icc-5.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc into char-misc-linus

Grorgi writes:

interconnect fixes for v5.13

This contains two tiny driver fixes:

- bcm-voter: Add missing MODULE_DEVICE_TABLE
- bcm-voter: Add a missing of_node_put()

Signed-off-by: Georgi Djakov <djakov@kernel.org>

* tag 'icc-5.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc:
  interconnect: qcom: Add missing MODULE_DEVICE_TABLE
  interconnect: qcom: bcm-voter: add a missing of_node_put()
This commit is contained in:
Greg Kroah-Hartman 2021-05-27 15:06:33 +02:00
commit 022b93cf2d

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
*/
#include <asm/div64.h>
@ -205,6 +205,7 @@ struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name)
}
mutex_unlock(&bcm_voter_lock);
of_node_put(node);
return voter;
}
EXPORT_SYMBOL_GPL(of_bcm_voter_get);
@ -362,6 +363,7 @@ static const struct of_device_id bcm_voter_of_match[] = {
{ .compatible = "qcom,bcm-voter" },
{ }
};
MODULE_DEVICE_TABLE(of, bcm_voter_of_match);
static struct platform_driver qcom_icc_bcm_voter_driver = {
.probe = qcom_icc_bcm_voter_probe,