From: H Hartley Sweeten Date: Tue, 18 Jun 2013 20:26:59 +0000 (-0700) Subject: staging: comedi: pcmuio: return 0 for successful attach X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ee81b210fe9f761a3d34f6c061c67e6313df06bc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: comedi: pcmuio: return 0 for successful attach Returning 0 for success is more common. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/pcmuio.c b/drivers/staging/comedi/drivers/pcmuio.c index 46def3b402da..bc969d24d1a3 100644 --- a/drivers/staging/comedi/drivers/pcmuio.c +++ b/drivers/staging/comedi/drivers/pcmuio.c @@ -672,7 +672,7 @@ static int pcmuio_attach(struct comedi_device *dev, struct comedi_devconfig *it) devpriv->asics[asic].irq = irq[asic]; } - return 1; + return 0; } static void pcmuio_detach(struct comedi_device *dev)