RE: [PATCH RESEND v2 1/8] staging: fsl-mc: static inline function to differentiate root dprc

2016-02-08 Thread Lijun Pan
t; Subject: Re: [PATCH RESEND v2 1/8] staging: fsl-mc: static inline function to > differentiate root dprc > > On Fri, Dec 11, 2015 at 01:25:47PM -0600, Lijun Pan wrote: > > Define a static inline function is_root_dprc(dev) to tell whether a > > device is root dprc or not via pl

RE: [PATCH RESEND v2 1/8] staging: fsl-mc: static inline function to differentiate root dprc

2016-02-08 Thread Lijun Pan
ard.schm...@freescale.com > Subject: Re: [PATCH RESEND v2 1/8] staging: fsl-mc: static inline function to > differentiate root dprc > > On Fri, Dec 11, 2015 at 01:25:47PM -0600, Lijun Pan wrote: > > Define a static inline function is_root_dprc(dev) to tell whether a > &g

Re: [PATCH RESEND v2 1/8] staging: fsl-mc: static inline function to differentiate root dprc

2016-02-07 Thread Greg KH
On Fri, Dec 11, 2015 at 01:25:47PM -0600, Lijun Pan wrote: > Define a static inline function is_root_dprc(dev) to tell whether > a device is root dprc or not via platform_bus_type. > Remove fsl_mc_is_root_dprc() because is_root_dprc() is simpler > and easier to understand. > > Signed-off-by:

Re: [PATCH RESEND v2 1/8] staging: fsl-mc: static inline function to differentiate root dprc

2016-02-07 Thread Greg KH
On Fri, Dec 11, 2015 at 01:25:47PM -0600, Lijun Pan wrote: > Define a static inline function is_root_dprc(dev) to tell whether > a device is root dprc or not via platform_bus_type. > Remove fsl_mc_is_root_dprc() because is_root_dprc() is simpler > and easier to understand. > > Signed-off-by:

[PATCH RESEND v2 1/8] staging: fsl-mc: static inline function to differentiate root dprc

2015-12-11 Thread Lijun Pan
Define a static inline function is_root_dprc(dev) to tell whether a device is root dprc or not via platform_bus_type. Remove fsl_mc_is_root_dprc() because is_root_dprc() is simpler and easier to understand. Signed-off-by: Lijun Pan --- v2: use static inline function instead of macro replace

[PATCH RESEND v2 1/8] staging: fsl-mc: static inline function to differentiate root dprc

2015-12-11 Thread Lijun Pan
Define a static inline function is_root_dprc(dev) to tell whether a device is root dprc or not via platform_bus_type. Remove fsl_mc_is_root_dprc() because is_root_dprc() is simpler and easier to understand. Signed-off-by: Lijun Pan --- v2: use static inline function