Re: [PATCH 1/6] fpga: region: don't use drvdata in common fpga code

2018-03-29 Thread Alan Tull
On Thu, Mar 29, 2018 at 12:01 PM, Greg KH wrote: Hi Greg, > On Thu, Mar 29, 2018 at 08:36:53AM -0700, Moritz Fischer wrote: >> From: Alan Tull >> >> Part of patchset that changes the following fpga_*_register >> functions to not set drvdata: >> * fpga_region_register. >> * fpga_mgr_register >>

Re: [PATCH 1/6] fpga: region: don't use drvdata in common fpga code

2018-03-29 Thread Greg KH
On Thu, Mar 29, 2018 at 08:36:53AM -0700, Moritz Fischer wrote: > From: Alan Tull > > Part of patchset that changes the following fpga_*_register > functions to not set drvdata: > * fpga_region_register. > * fpga_mgr_register > * fpga_bridge_register That's not what this specific patch does. Pl

[PATCH 1/6] fpga: region: don't use drvdata in common fpga code

2018-03-29 Thread Moritz Fischer
From: Alan Tull Part of patchset that changes the following fpga_*_register functions to not set drvdata: * fpga_region_register. * fpga_mgr_register * fpga_bridge_register The rationale is that setting drvdata is fine for DT based devices that will have one manager, bridge, or region per platfo