staging: pi433: Fixes minor typo errors
authorHarsha Sharma <harshasharmaiitr@gmail.com>
Fri, 8 Sep 2017 14:24:28 +0000 (19:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:27 +0000 (16:35 +0200)
Fixes checkpatch warning -- "occured" and "succesfully" are misspelled

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/pi433_if.c

index 93c01680f016a0aa09d9ea02d1dec6d7d4ea8456..73aa4698dfcede71964061d332b3a183a5b4cc6d 100644 (file)
@@ -466,7 +466,7 @@ pi433_receive(void *data)
        }
 
 
-       /* rx done, wait was interrupted or error occured */
+       /* rx done, wait was interrupted or error occurred */
 abort:
        dev->interrupt_rx_allowed = true;
        SET_CHECKED(rf69_set_mode(dev->spi, standby));
@@ -1030,7 +1030,7 @@ static int setup_GPIOs(struct pi433_device *device)
                if (retval)
                        return retval;
 
-               dev_dbg(&device->spi->dev, "%s succesfully configured", name);
+               dev_dbg(&device->spi->dev, "%s successfully configured", name);
        }
 
        return 0;