This coding style error was detected using the checkpatch.pl script
Signed-off-by: Gary Servin garyser...@gmail.com
---
drivers/staging/olpc_dcon/olpc_dcon.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.h
PTR_RET is deprecated. Use PTR_ERR_OR_ZERO instead.
While at it also use PTR_ERR_OR_ZERO in ion.c to simplify
the code.
Signed-off-by: Sachin Kamat sachin.ka...@linaro.org
Cc: John Stultz john.stu...@linaro.org
---
drivers/staging/android/ion/ion.c |5 ++---
Call netif_carrier_on() after register_device(). Otherwise it won't work since
the device was still in NETREG_UNINITIALIZED state.
Fixes a68f9614614749727286f675d15f1e09d13cb54a
(hyperv: Fix race between probe and open calls)
Cc: Haiyang Zhang haiya...@microsoft.com
Cc: K. Y. Srinivasan