Skip to content

Commit

Permalink
iio: adc: ad9361: Fix open brace placement
Browse files Browse the repository at this point in the history
This fixes a checkpath warning.

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich authored and commodo committed Jan 30, 2019
1 parent 42d22f4 commit 23f7503
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/iio/adc/ad9361.c
Original file line number Diff line number Diff line change
Expand Up @@ -7922,8 +7922,9 @@ static int ad9361_phy_read_avail(struct iio_dev *indio_dev,
switch (mask) {
case IIO_CHAN_INFO_HARDWAREGAIN:
if (chan->output) {
static const int tx_hw_gain[] =
{89, -750000, 0, 250000, 0, 0};
static const int tx_hw_gain[] = {
89, -750000, 0, 250000, 0, 0
};
*vals = tx_hw_gain;
*type = IIO_VAL_INT_PLUS_MICRO;
return IIO_AVAIL_RANGE;
Expand Down

0 comments on commit 23f7503

Please sign in to comment.