gnss: drop stray semicolons
Drop semicolons after function definitions that have managed to sneak in and get reproduced. Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
fa55b7dcdc
commit
b15c90153f
@ -126,7 +126,7 @@ static void mtk_remove(struct serdev_device *serdev)
|
|||||||
if (data->vbackup)
|
if (data->vbackup)
|
||||||
regulator_disable(data->vbackup);
|
regulator_disable(data->vbackup);
|
||||||
gnss_serial_free(gserial);
|
gnss_serial_free(gserial);
|
||||||
};
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
static const struct of_device_id mtk_of_match[] = {
|
static const struct of_device_id mtk_of_match[] = {
|
||||||
|
@ -165,7 +165,7 @@ void gnss_serial_free(struct gnss_serial *gserial)
|
|||||||
{
|
{
|
||||||
gnss_put_device(gserial->gdev);
|
gnss_put_device(gserial->gdev);
|
||||||
kfree(gserial);
|
kfree(gserial);
|
||||||
};
|
}
|
||||||
EXPORT_SYMBOL_GPL(gnss_serial_free);
|
EXPORT_SYMBOL_GPL(gnss_serial_free);
|
||||||
|
|
||||||
int gnss_serial_register(struct gnss_serial *gserial)
|
int gnss_serial_register(struct gnss_serial *gserial)
|
||||||
|
@ -551,7 +551,7 @@ static void sirf_remove(struct serdev_device *serdev)
|
|||||||
regulator_disable(data->vcc);
|
regulator_disable(data->vcc);
|
||||||
|
|
||||||
gnss_put_device(data->gdev);
|
gnss_put_device(data->gdev);
|
||||||
};
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
static const struct of_device_id sirf_of_match[] = {
|
static const struct of_device_id sirf_of_match[] = {
|
||||||
|
@ -126,7 +126,7 @@ static void ubx_remove(struct serdev_device *serdev)
|
|||||||
if (data->v_bckp)
|
if (data->v_bckp)
|
||||||
regulator_disable(data->v_bckp);
|
regulator_disable(data->v_bckp);
|
||||||
gnss_serial_free(gserial);
|
gnss_serial_free(gserial);
|
||||||
};
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
static const struct of_device_id ubx_of_match[] = {
|
static const struct of_device_id ubx_of_match[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user