dummy-irq: require the user to specify an IRQ number
authorJonathan Corbet <corbet@lwn.net>
Tue, 30 Apr 2013 20:42:33 +0000 (22:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2013 01:08:57 +0000 (18:08 -0700)
commita7b594b4905828b3bfc36be39d48b5e07a23c8e1
tree50a0ceb69d64d652ebb2ac83924d5f85fa930cf2
parentf722406faae2d073cc1d01063d1123c35425939e
dummy-irq: require the user to specify an IRQ number

Make sure that we let the user know that without specifying IRQ#,
dummy-irq driver is useless.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/dummy-irq.c