Skip to content

Commit

Permalink
gnss: drop stray semicolons
Browse files Browse the repository at this point in the history
Drop semicolons after function definitions that have managed to sneak in
and get reproduced.

Signed-off-by: Johan Hovold <[email protected]>
  • Loading branch information
jhovold committed Nov 15, 2021
1 parent fa55b7d commit b15c901
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/gnss/mtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static void mtk_remove(struct serdev_device *serdev)
if (data->vbackup)
regulator_disable(data->vbackup);
gnss_serial_free(gserial);
};
}

#ifdef CONFIG_OF
static const struct of_device_id mtk_of_match[] = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/gnss/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void gnss_serial_free(struct gnss_serial *gserial)
{
gnss_put_device(gserial->gdev);
kfree(gserial);
};
}
EXPORT_SYMBOL_GPL(gnss_serial_free);

int gnss_serial_register(struct gnss_serial *gserial)
Expand Down
2 changes: 1 addition & 1 deletion drivers/gnss/sirf.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ static void sirf_remove(struct serdev_device *serdev)
regulator_disable(data->vcc);

gnss_put_device(data->gdev);
};
}

#ifdef CONFIG_OF
static const struct of_device_id sirf_of_match[] = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/gnss/ubx.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static void ubx_remove(struct serdev_device *serdev)
if (data->v_bckp)
regulator_disable(data->v_bckp);
gnss_serial_free(gserial);
};
}

#ifdef CONFIG_OF
static const struct of_device_id ubx_of_match[] = {
Expand Down

0 comments on commit b15c901

Please sign in to comment.