Re: [PATCH 2/6] rc-core: cleanup rc_register_device

2017-05-03 Thread David Härdeman
On Tue, May 02, 2017 at 09:48:26PM +0100, Sean Young wrote: >On Tue, May 02, 2017 at 08:53:02PM +0200, David Härdeman wrote: >> On Mon, May 01, 2017 at 07:47:25PM +0200, David Härdeman wrote: >> >On Mon, May 01, 2017 at 05:49:53PM +0100, Sean Young wrote: >> >>On Thu, Apr 27, 2017 at 10:34:03PM

Re: [PATCH 2/6] rc-core: cleanup rc_register_device

2017-05-02 Thread Sean Young
On Tue, May 02, 2017 at 08:53:02PM +0200, David Härdeman wrote: > On Mon, May 01, 2017 at 07:47:25PM +0200, David Härdeman wrote: > >On Mon, May 01, 2017 at 05:49:53PM +0100, Sean Young wrote: > >>On Thu, Apr 27, 2017 at 10:34:03PM +0200, David Härdeman wrote: > >>> The device core infrastructure

Re: [PATCH 2/6] rc-core: cleanup rc_register_device

2017-05-02 Thread David Härdeman
On Mon, May 01, 2017 at 07:47:25PM +0200, David Härdeman wrote: >On Mon, May 01, 2017 at 05:49:53PM +0100, Sean Young wrote: >>On Thu, Apr 27, 2017 at 10:34:03PM +0200, David Härdeman wrote: >>> The device core infrastructure is based on the presumption that >>> once a driver calls device_add(),

Re: [PATCH 2/6] rc-core: cleanup rc_register_device

2017-05-01 Thread David Härdeman
On Mon, May 01, 2017 at 05:49:53PM +0100, Sean Young wrote: >On Thu, Apr 27, 2017 at 10:34:03PM +0200, David Härdeman wrote: >> The device core infrastructure is based on the presumption that >> once a driver calls device_add(), it must be ready to accept >> userspace interaction. >> >> This

Re: [PATCH 2/6] rc-core: cleanup rc_register_device

2017-05-01 Thread Sean Young
On Thu, Apr 27, 2017 at 10:34:03PM +0200, David Härdeman wrote: > The device core infrastructure is based on the presumption that > once a driver calls device_add(), it must be ready to accept > userspace interaction. > > This requires splitting rc_setup_rx_device() into two functions > and

[PATCH 2/6] rc-core: cleanup rc_register_device

2017-04-27 Thread David Härdeman
The device core infrastructure is based on the presumption that once a driver calls device_add(), it must be ready to accept userspace interaction. This requires splitting rc_setup_rx_device() into two functions and reorganizing rc_register_device() so that as much work as possible is performed