From patchwork Thu Dec 14 14:02:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 121956 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6843809qgn; Thu, 14 Dec 2017 06:03:11 -0800 (PST) X-Google-Smtp-Source: ACJfBov1KBtvLw3jSD0vHS9ZyypESKrgHKXGMrD3tHbXZvyUaJlK1u4FeZzblXBmUEMJJkH0LgeY X-Received: by 10.98.135.138 with SMTP id i132mr9594389pfe.130.1513260191746; Thu, 14 Dec 2017 06:03:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513260191; cv=none; d=google.com; s=arc-20160816; b=yRRLZs0m6Np8VSLSF+pynUxY6Wl+2rdQBAcfefro3IIPoW+UtHr7Lwi9KkMJz3qenT XLai78BWh3mWewpts0J1eklShy44LfKSf4nnN/nyPsiMmICsHm4/SUhz4757pVpCA8A3 VgS7VyXk/WQGUfhtF/p4V2Y1I1LIIGQO/LeoYzpLPTwm71hMdOtkvis1RK5LpQ9+K15h mYVt/5+akxYjXhcfJvXZ7dx6PRkk7Rto4SNW6CPBqtquoAmnVs02trkbmJBZkgtkqBnx WcTu0KfOgTNPwPsSfvsMp2+2SX8N1nEHTXcciJPIiZHk9cz5AS2hBKVP/ZcCM7zntUt8 2G2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=iI0KuVRi51j0eUutF+G6OK6lTReNDvXEhDmbJkIyIC8=; b=rmkpvm5LmTORjkIsn5Y0hIAC3NBSJ66NWHmtniNL7ovxSe5DolnlNKqENEKIicxxAG ft3uyItGbyzhG6p+nZmlQBmzD6xDMVEaVmixge3jBwx8FluFd3Wjr5b3qjNcymHh35qr EfMBi9xwVhsmzvj7hrJhK0/ya1iMx7bz5+1+70t2/uzjLlsCVSoVTI8Rns2LE+/vmSlk RKZ2+BXpWcUoZRB8AqSpM+CQqqsvz4qAmJB1cC86btEgSYRp3C6s2614VKyFfEwq3p4m +WjxAw07gDsAWFPjFh9avDw3FaoEI2Qx9zBT6GlEJ4Q/j5OlrB7KdQU373XSrZPqR09q A7RQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si3183358plb.791.2017.12.14.06.03.11; Thu, 14 Dec 2017 06:03:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752607AbdLNODI (ORCPT + 20 others); Thu, 14 Dec 2017 09:03:08 -0500 Received: from foss.arm.com ([217.140.101.70]:42150 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042AbdLNODE (ORCPT ); Thu, 14 Dec 2017 09:03:04 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DFAEE1435; Thu, 14 Dec 2017 06:03:03 -0800 (PST) Received: from sugar.kfn.arm.com (unknown [10.45.48.196]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2A97C3F246; Thu, 14 Dec 2017 06:03:01 -0800 (PST) From: Gilad Ben-Yossef To: Greg Kroah-Hartman Cc: Ofir Drang , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org Subject: [PATCH 01/10] staging: ccree: drop ifdef CONFIG_OF in code Date: Thu, 14 Dec 2017 14:02:38 +0000 Message-Id: <1513260170-26346-2-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513260170-26346-1-git-send-email-gilad@benyossef.com> References: <1513260170-26346-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As we already depend on CONFIG_OF via Kconfig no need to support conditional build without it. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_driver.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.7.4 diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c index 28cfbb4..fbf0338 100644 --- a/drivers/staging/ccree/ssi_driver.c +++ b/drivers/staging/ccree/ssi_driver.c @@ -512,20 +512,16 @@ static const struct dev_pm_ops arm_cc7x_driver_pm = { #define CC_DRIVER_RUNTIME_PM NULL #endif -#ifdef CONFIG_OF static const struct of_device_id arm_cc7x_dev_of_match[] = { {.compatible = "arm,cryptocell-712-ree"}, {} }; MODULE_DEVICE_TABLE(of, arm_cc7x_dev_of_match); -#endif static struct platform_driver cc7x_driver = { .driver = { .name = "cc7xree", -#ifdef CONFIG_OF .of_match_table = arm_cc7x_dev_of_match, -#endif .pm = CC_DRIVER_RUNTIME_PM, }, .probe = cc7x_probe,