From 9ee677231bbc6a9e6ec9057d33d81eb248742b0a Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Mon, 8 Oct 2012 14:32:49 -0700 Subject: [PATCH] OMAPDSS: fix return value check in create_dss_pdev() In case of error, the function omap_device_alloc() returns ERR_PTR() not NULL pointer. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: Tony Lindgren --- Reading git-format-patch failed