Re: [PATCH 2/2] driver-core: remove the duplicate assignment of kobj->parent in device_add

2013-03-15 Thread Wei Yang
[resend it for sytax error in Message-ID] Sorry all. I just found there is a syntax error of Message-ID in the mail sent from my mutt. So all my reply maybe rejected by the mail server. Hope this time the mail can be accepted by the mail server. Sorry for the noise again. On Thu, Mar 07,

Re: [PATCH 2/2] driver-core: remove the duplicate assignment of kobj-parent in device_add

2013-03-15 Thread Wei Yang
[resend it for sytax error in Message-ID] Sorry all. I just found there is a syntax error of Message-ID in the mail sent from my mutt. So all my reply maybe rejected by the mail server. Hope this time the mail can be accepted by the mail server. Sorry for the noise again. On Thu, Mar 07,

Re: [PATCH 2/2] driver-core: remove the duplicate assignment of kobj->parent in device_add

2013-03-07 Thread Bjørn Mork
[ not stripping any quoting to restore context for linux-kernel] Wei Yang writes: > On Thu, Mar 07, 2013 at 12:33:19PM +0100, Bjørn Mork wrote: >>Wei Yang writes: >> >>> kobject_add() will setup the kobject parent correctly. >>> >>> This patch removes the redundant code. >>> >>> Signed-off-by:

Re: [PATCH 2/2] driver-core: remove the duplicate assignment of kobj->parent in device_add

2013-03-07 Thread Bjørn Mork
Wei Yang writes: > kobject_add() will setup the kobject parent correctly. > > This patch removes the redundant code. > > Signed-off-by: Wei Yang > Reviewed-by: Ram Pai > Reviewed-by: Gavin Shan > --- > drivers/base/core.c |4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > >

Re: [PATCH 2/2] driver-core: remove the duplicate assignment of kobj-parent in device_add

2013-03-07 Thread Bjørn Mork
Wei Yang weiy...@linux.vnet.ibm.com writes: kobject_add() will setup the kobject parent correctly. This patch removes the redundant code. Signed-off-by: Wei Yang weiy...@linux.vnet.ibm.com Reviewed-by: Ram Pai linux...@us.ibm.com Reviewed-by: Gavin Shan sha...@linux.vnet.ibm.com ---

Re: [PATCH 2/2] driver-core: remove the duplicate assignment of kobj-parent in device_add

2013-03-07 Thread Bjørn Mork
[ not stripping any quoting to restore context for linux-kernel] Wei Yang weiy...@linux.vnet.ibm.com writes: On Thu, Mar 07, 2013 at 12:33:19PM +0100, Bjørn Mork wrote: Wei Yang weiy...@linux.vnet.ibm.com writes: kobject_add() will setup the kobject parent correctly. This patch removes the

[PATCH 2/2] driver-core: remove the duplicate assignment of kobj->parent in device_add

2013-03-06 Thread Wei Yang
kobject_add() will setup the kobject parent correctly. This patch removes the redundant code. Signed-off-by: Wei Yang Reviewed-by: Ram Pai Reviewed-by: Gavin Shan --- drivers/base/core.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/base/core.c

[PATCH 2/2] driver-core: remove the duplicate assignment of kobj-parent in device_add

2013-03-06 Thread Wei Yang
kobject_add() will setup the kobject parent correctly. This patch removes the redundant code. Signed-off-by: Wei Yang weiy...@linux.vnet.ibm.com Reviewed-by: Ram Pai linux...@us.ibm.com Reviewed-by: Gavin Shan sha...@linux.vnet.ibm.com --- drivers/base/core.c |4 +--- 1 files changed, 1