[PATCH 00/48] staging: comedi: avoid using comedi_board()

Hartley Sweeten HartleyS at visionengravers.com
Thu Sep 11 17:57:34 UTC 2014


On Tuesday, September 09, 2014 3:26 AM, Ian Abbott wrote:
> The `comedi_board` inline function takes a single parameter of type
> `struct comedi_device *` and merely returns the value of the `board_ptr`
> member therein.  This is somewhat superfluous as the member can be
> accessed directly.
>
> Replace all uses of `comedi_board(dev)` with `dev->board_ptr`.
>
> Note, if there are any conflicts when applying this series, they can
> just be skipped for now and corrected later.
>
> A subsequent patch will remove the `comedi_board` function, once there
> is nothing using it.

Greg,

Just wanted to give you a heads up on this series and the ones I have
posted. The series are:

>From Ian, [PATCH 00/48] staging: comedi: avoid using comedi_board()
>From me, [PATCH 00/30] staging: comedi: adl_pci9118: continue cleanup
>From me, [PATCH 00/34] staging: comedi: cleanup async cmd->stop_{src,arg} usage

There are a couple conflicts between the series from Ian and my two.
If you drop these two from Ian's series:
 
06) staging: comedi: adl_pci9118: replace comedi_board() calls
10) staging: comedi: amplc_dio200_common: replace comedi_board() calls

The rest will apply cleanly in the order above (assuming I didn't miss anything).

Also, Ian had a couple issues with patch 07/34 and 08/34 from the last
series I posted. I already asked if you could drop those two. I needed I
will repost the series.

Thanks,
Hartley



More information about the devel mailing list