Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337708
b: refs/heads/master
c: 0d9fa2c
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Cameron committed Nov 10, 2012
1 parent 5bb00e5 commit fcdece4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2593b13a622ae99c2c7d6d8c869b59383ab70697
refs/heads/master: 0d9fa2ce939279ac7aab34b50b90196f8208af42
6 changes: 1 addition & 5 deletions trunk/drivers/staging/iio/adc/max1363.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,9 +765,9 @@ static int max1363_read_event_config(struct iio_dev *indio_dev,
u64 event_code)
{
struct max1363_state *st = iio_priv(indio_dev);

int val;
int number = IIO_EVENT_CODE_EXTRACT_CHAN(event_code);

mutex_lock(&indio_dev->mlock);
if (IIO_EVENT_CODE_EXTRACT_DIR(event_code) == IIO_EV_DIR_FALLING)
val = (1 << number) & st->mask_low;
Expand Down Expand Up @@ -969,8 +969,6 @@ static struct attribute_group max1363_event_attribute_group = {
.name = "events",
};

#define MAX1363_EVENT_FUNCS \

static int max1363_update_scan_mode(struct iio_dev *indio_dev,
const unsigned long *scan_mask)
{
Expand Down Expand Up @@ -1388,8 +1386,6 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
},
};



static int max1363_initial_setup(struct max1363_state *st)
{
st->setupbyte = MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_VDD
Expand Down

0 comments on commit fcdece4

Please sign in to comment.