Re: [PATCH] extcon: Remove casting the return value which is a void pointer

2013-09-10 Thread Chanwoo Choi
Hi Jingoo, On 09/09/2013 02:33 PM, Jingoo Han wrote: > Casting the return value which is a void pointer is redundant. > The conversion from void pointer to any other pointer type is > guaranteed by the C programming language. > > Signed-off-by: Jingoo Han > --- > drivers/extcon/extcon-class.c |

[PATCH] extcon: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/extcon/extcon-class.c |8 1 file changed, 4 insertions(+), 4 deletions(-) dif