From patchwork Fri Dec 25 17:25:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 7920851 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7D66BBEEE5 for ; Fri, 25 Dec 2015 17:25:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A8BF8203A4 for ; Fri, 25 Dec 2015 17:25:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D2671203F3 for ; Fri, 25 Dec 2015 17:25:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753325AbbLYRZg (ORCPT ); Fri, 25 Dec 2015 12:25:36 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:33173 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753141AbbLYRZf (ORCPT ); Fri, 25 Dec 2015 12:25:35 -0500 Received: by mail-lb0-f169.google.com with SMTP id sv6so64030321lbb.0 for ; Fri, 25 Dec 2015 09:25:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=uSDdV92t451fwqbV0W6XGF+TF5Jbyb/M2c+yncyJRHs=; b=gM9lAicp9Rwx4T/XYjyegf70lHUH5hn+nkLGYpPCs6v1nwqNlMPqvjH9WA+o3pobbh AWbVgrn255uPA0ZnIHKJvddkZF7US7qd33/MM+z+iPxrMqlwbj8a3mqdbs3Srg4TUYQS YeLAV9/JbNm5XepnOQ/w8OzKIC2UaAR3sx5Ono0RYbTAIs5DDsnV0Cfj9c7JT27hacic zNsKdYm+r679sissgFVbXmt1auHsn69JZSiz+wtgtSDpwYgWW7pFwXkx9NFMyTQHQpp9 B+lM8TUdOSbKZUc3AlIJFhhp8PQyX1Rm1Hjxyofcahi1qfZeYCe/MUX3jLpVahg+9fHv bocg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=uSDdV92t451fwqbV0W6XGF+TF5Jbyb/M2c+yncyJRHs=; b=bzM7eXWi6MdnyJewUsRSlNFZrnTkIPAtQI/PjBrnmZxZXo6FEY8NYaXEhXjFKvBDco QeIZcsqPtAyt/KlUr5W/MucTumOcHWE8QlRrfTsjS5AGsGm/2YTW1QSsrZKkjB0PKP0X qbFed6bSzKJst/VgOoQYT4PLp/BCuI8oPmwKWbnkWUHupelTbBXiI6JVQ7+4nRfh+hio UZi27jxSCTsGyLtFwwRd1qnFQki6T5U1H+9Lz443JZZk8dSh8nwoTeXDBmpYUyzYBSNL 3hkSchj3VWuMbSoY2Z0vT83Ijbf9Z8G7/OUeJQr1rJ12v2jrssq868cZWzAMD2mN/GE+ aL5g== X-Gm-Message-State: ALoCoQl6Ul3+abnOmG/F/9bpMMR5t3JfuT3q4cmhDMMr47k/X8LvA+pmcxt74dayOzb20wFK1iTiGw0Ks/Oa6p5PbevLTivF8w== X-Received: by 10.112.168.106 with SMTP id zv10mr14384054lbb.127.1451064334062; Fri, 25 Dec 2015 09:25:34 -0800 (PST) Received: from bigcity.berto.se (dynamic.0.6.79d1f80.14cc20ac3a53.cust.bredband2.com. [89.233.230.99]) by smtp.gmail.com with ESMTPSA id jm8sm2762202lbc.12.2015.12.25.09.25.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Dec 2015 09:25:33 -0800 (PST) From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= To: mchehab@osg.samsung.com, hverkuil@xs4all.nl, jh1009.sung@samsung.com, linux-media@vger.kernel.org Cc: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Subject: [PATCH] [media] vim2m: return error if driver registration fails Date: Fri, 25 Dec 2015 18:25:16 +0100 Message-Id: <1451064316-6992-1-git-send-email-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.6.3 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Niklas Söderlund Signed-off-by: Niklas Söderlund --- drivers/media/platform/vim2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c index e18fb9f..da37a59 100644 --- a/drivers/media/platform/vim2m.c +++ b/drivers/media/platform/vim2m.c @@ -1079,7 +1079,7 @@ static int __init vim2m_init(void) if (ret) platform_device_unregister(&vim2m_pdev); - return 0; + return ret; } module_init(vim2m_init);