]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i2c: Remove unnecessary call to irq_find_mapping
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 19 Oct 2018 08:59:57 +0000 (09:59 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 31 Oct 2018 23:33:14 +0000 (23:33 +0000)
commitb9bb3fdf4e870fb655064f5c3c81c1fee7fd89ce
treefb801c0427da3a0aba905a464cd163b6c2295114
parent9bb9d4fdce9e6b351b7b905f150745a0fccccc06
i2c: Remove unnecessary call to irq_find_mapping

irq_create_mapping calls irq_find_mapping internally and will use the
found mapping if one exists, so there is no need to manually call this
from i2c_smbus_host_notify_to_irq.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c