Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ddfd857 authored by Bijosh Thykkoottathil's avatar Bijosh Thykkoottathil Committed by Jonathan Cameron
Browse files

drivers:iio:accel:mma8452: removed unwanted return statements



Removed unwanted return statements from the function
mma8452_set_freefall_mode.

Signed-off-by: default avatarBijosh Thykkoottathil <bijosh.t@hotmail.com>
Acked-by: default avatarMartin Kepplinger <martink@posteo.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 1a965d40
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -634,11 +634,7 @@ static int mma8452_set_freefall_mode(struct mma8452_data *data, bool state)
		val |= MMA8452_FF_MT_CFG_OAE;
	}

	val = mma8452_change_config(data, chip->ev_cfg, val);
	if (val)
		return val;

	return 0;
	return mma8452_change_config(data, chip->ev_cfg, val);
}

static int mma8452_set_hp_filter_frequency(struct mma8452_data *data,