diff options
author | Jiang Liu <liuj97@gmail.com> | 2012-03-30 23:11:34 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-24 22:36:40 +0200 |
commit | 818b0f3bfb236ae66cac3ff38e86b9e47f24b7aa (patch) | |
tree | 711e4396d69f1127cd723b00ad348c47bd433a2b /arch/arm/mach-clps711x | |
parent | 23812b9d9e497580d38c62ebdc6f308733b0a32a (diff) | |
download | blackbird-op-linux-818b0f3bfb236ae66cac3ff38e86b9e47f24b7aa.tar.gz blackbird-op-linux-818b0f3bfb236ae66cac3ff38e86b9e47f24b7aa.zip |
genirq: Introduce irq_do_set_affinity() to reduce duplicated code
All invocations of chip->irq_set_affinity() are doing the same return
value checks. Let them all use a common function.
[ tglx: removed the silly likely while at it ]
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Cc: Jiang Liu <liuj97@gmail.com>
Cc: Keping Chen <chenkeping@huawei.com>
Link: http://lkml.kernel.org/r/1333120296-13563-3-git-send-email-jiang.liu@huawei.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/mach-clps711x')
0 files changed, 0 insertions, 0 deletions