Skip to content

Commit 022b93c

Browse files
committed
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 <[email protected]> * 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()
2 parents bda7d3a + 1fd86e2 commit 022b93c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/interconnect/qcom/bcm-voter.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
3+
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
44
*/
55

66
#include <asm/div64.h>
@@ -205,6 +205,7 @@ struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name)
205205
}
206206
mutex_unlock(&bcm_voter_lock);
207207

208+
of_node_put(node);
208209
return voter;
209210
}
210211
EXPORT_SYMBOL_GPL(of_bcm_voter_get);
@@ -362,6 +363,7 @@ static const struct of_device_id bcm_voter_of_match[] = {
362363
{ .compatible = "qcom,bcm-voter" },
363364
{ }
364365
};
366+
MODULE_DEVICE_TABLE(of, bcm_voter_of_match);
365367

366368
static struct platform_driver qcom_icc_bcm_voter_driver = {
367369
.probe = qcom_icc_bcm_voter_probe,

0 commit comments

Comments
 (0)