Re: [RFC 1/4] counter: Simplify the count_read and count_write callbacks

2019-09-15 Thread William Breathitt Gray
On Sun, Sep 15, 2019 at 02:47:00PM +0100, Jonathan Cameron wrote: > On Sun, 15 Sep 2019 14:39:17 +0100 > Jonathan Cameron wrote: > > > On Sun, 15 Sep 2019 14:57:56 +0900 > > William Breathitt Gray wrote: > > > > > The count_read and count_write callbacks are simplified to pass val as > > >

Re: [RFC 1/4] counter: Simplify the count_read and count_write callbacks

2019-09-15 Thread Jonathan Cameron
On Sun, 15 Sep 2019 14:39:17 +0100 Jonathan Cameron wrote: > On Sun, 15 Sep 2019 14:57:56 +0900 > William Breathitt Gray wrote: > > > The count_read and count_write callbacks are simplified to pass val as > > unsigned long rather than as an opaque data structure. The opaque > >

Re: [RFC 1/4] counter: Simplify the count_read and count_write callbacks

2019-09-15 Thread Jonathan Cameron
On Sun, 15 Sep 2019 14:57:56 +0900 William Breathitt Gray wrote: > The count_read and count_write callbacks are simplified to pass val as > unsigned long rather than as an opaque data structure. The opaque > counter_count_read_value and counter_count_write_value structures, >

[RFC 1/4] counter: Simplify the count_read and count_write callbacks

2019-09-14 Thread William Breathitt Gray
The count_read and count_write callbacks are simplified to pass val as unsigned long rather than as an opaque data structure. The opaque counter_count_read_value and counter_count_write_value structures, counter_count_value_type enum, and relevant counter_count_read_value_set and