diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-07-21 14:04:28 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-07-21 14:04:28 +1000 |
commit | 7792509d8fa63c0f4346e6afc7d84c282950c6b6 (patch) | |
tree | eec75322e2d2e790b0344c32a10444a75d76d202 /drivers/staging/iio/adc/max1363_ring.c | |
parent | 24e76bc81cf10d04947f132c15548ebfbc8bc1bf (diff) | |
parent | a6bff488e7267b65d7c6b2e0d5d2dd2257e65ea4 (diff) |
Merge remote branch 'staging-next/staging-next'
Conflicts:
drivers/staging/batman-adv/bat_sysfs.c
drivers/staging/batman-adv/device.c
drivers/staging/cx25821/cx25821-audups11.c
Diffstat (limited to 'drivers/staging/iio/adc/max1363_ring.c')
-rw-r--r-- | drivers/staging/iio/adc/max1363_ring.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/iio/adc/max1363_ring.c b/drivers/staging/iio/adc/max1363_ring.c index 56688dc9c92f..b30d680bafa6 100644 --- a/drivers/staging/iio/adc/max1363_ring.c +++ b/drivers/staging/iio/adc/max1363_ring.c @@ -68,7 +68,7 @@ error_ret: } /** - * max1363_ring_preenable() setup the parameters of the ring before enabling + * max1363_ring_preenable() - setup the parameters of the ring before enabling * * The complex nature of the setting of the nuber of bytes per datum is due * to this driver currently ensuring that the timestamp is stored at an 8 @@ -106,7 +106,7 @@ static int max1363_ring_preenable(struct iio_dev *indio_dev) } /** - * max1363_ring_postenable() typical ring post enable + * max1363_ring_postenable() - typical ring post enable * * Only not moved into the core for the hardware ring buffer cases * that are more sophisticated. @@ -120,7 +120,7 @@ static int max1363_ring_postenable(struct iio_dev *indio_dev) } /** - * max1363_ring_predisable() runs just prior to ring buffer being disabled + * max1363_ring_predisable() - runs just prior to ring buffer being disabled * * Typical predisable function which ensures that no trigger events can * occur before we disable the ring buffer (and hence would have no idea @@ -136,7 +136,7 @@ static int max1363_ring_predisable(struct iio_dev *indio_dev) } /** - * max1363_poll_func_th() th of trigger launched polling to ring buffer + * max1363_poll_func_th() - th of trigger launched polling to ring buffer * * As sampling only occurs on i2c comms occuring, leave timestamping until * then. Some triggers will generate their own time stamp. Currently @@ -151,7 +151,7 @@ static void max1363_poll_func_th(struct iio_dev *indio_dev) return; } /** - * max1363_poll_bh_to_ring() bh of trigger launched polling to ring buffer + * max1363_poll_bh_to_ring() - bh of trigger launched polling to ring buffer * @work_s: the work struct through which this was scheduled * * Currently there is no option in this driver to disable the saving of @@ -262,9 +262,9 @@ void max1363_ring_cleanup(struct iio_dev *indio_dev) void max1363_uninitialize_ring(struct iio_ring_buffer *ring) { iio_ring_buffer_unregister(ring); -}; +} int max1363_initialize_ring(struct iio_ring_buffer *ring) { return iio_ring_buffer_register(ring, 0); -}; +} |