V4L/DVB: v4l: radio: si470x: fix unneeded free_irq() call
authorMarek Szyprowski <m.szyprowski@samsung.com>
Sun, 5 Sep 2010 05:42:33 +0000 (02:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Sep 2010 10:22:41 +0000 (07:22 -0300)
commitcc6e853c5e49ea3698e87415672d818c6d7a5ee9
tree05cd455afdb2ba8ce821a25441238c47224c6996
parentb2b476f53a9d24b00a313adf7f6ca92515a2af54
V4L/DVB: v4l: radio: si470x: fix unneeded free_irq() call

In case of error during probe() the driver calls free_irq() function
on not yet allocated irq. This patches fixes the call sequence in case of
the error.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/si470x/radio-si470x-i2c.c