diff options
author | 2019-11-13 02:17:20 +0000 | |
---|---|---|
committer | 2019-12-10 14:25:34 +0100 | |
commit | 751438bc0f10f75633144acd6ff145f7260706d5 (patch) | |
tree | b32d63de52235d52b3b48f488cd5c62d7b5b7684 /drivers/rtc/rtc-stm32.c | |
parent | Linux 5.5-rc1 (diff) | |
download | linux-rng-751438bc0f10f75633144acd6ff145f7260706d5.tar.xz linux-rng-751438bc0f10f75633144acd6ff145f7260706d5.zip |
rtc: mt6397: drop free_irq of devm_ allocated irq
The devm_request_threaded_irq function allocates irq that is
released when a driver detaches. Thus, there is no reason to
explicitly call free_irq in probe function.
Fixes: 851b87148aa2 ("rtc: mt6397: improvements of rtc driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20191113021720.9527-1-weiyongjun1@huawei.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-stm32.c')
0 files changed, 0 insertions, 0 deletions