aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/platform/intel-quark/imr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/platform/intel-quark/imr.c b/arch/x86/platform/intel-quark/imr.c
index 16e4df1c9290..60c01eb47dd6 100644
--- a/arch/x86/platform/intel-quark/imr.c
+++ b/arch/x86/platform/intel-quark/imr.c
@@ -277,10 +277,7 @@ static int imr_debugfs_register(struct imr_device *idev)
277{ 277{
278 idev->file = debugfs_create_file("imr_state", S_IFREG | S_IRUGO, NULL, 278 idev->file = debugfs_create_file("imr_state", S_IFREG | S_IRUGO, NULL,
279 idev, &imr_state_ops); 279 idev, &imr_state_ops);
280 if (IS_ERR(idev->file)) 280 return PTR_ERR_OR_ZERO(idev->file);
281 return PTR_ERR(idev->file);
282
283 return 0;
284} 281}
285 282
286/** 283/**