From patchwork Sat Oct 28 16:50:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 117399 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp764644qgn; Sat, 28 Oct 2017 09:51:40 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RimzdvBf6wh8PPRg+t5rj7b7jqBX3jVr9q2KffYw1pF4nd1nBtbC7kD7HXiEGjs3hrjydl X-Received: by 10.99.121.201 with SMTP id u192mr3353886pgc.69.1509209500283; Sat, 28 Oct 2017 09:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509209500; cv=none; d=google.com; s=arc-20160816; b=LnB8be/GQYq4TU0BRNSbUSMjjM4RS35vIqsOT50Nx3kM05nteP+Tcf+KmuT5xXBW3J eS5Yq3JQ3XzsTnJKFmR9xbF0hKTw7kbt1m2oLhcUrKJm/GCkIxXjJNQDWNkSpBThjHJg gXJ/9W9Vf3giQBD6fHktn8lIpWX5SLQM9Sgt16hOny+xcrQCn/5+mRS0IitAsfvJzVKq VsAGNKmJUe5VHgQpC+YjXTFHnvoOhgiWpY3AqYe3TsGGjJrn1WJJHM/fKzCdxHRqU15V s4dNPGGuXDuySUCwQbX+AS8Winro6qRKVNR1I7BbL6rbjQ9mgD7HyTlUz+NqAiqp6A30 A+kg== 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:dkim-signature:dkim-filter :arc-authentication-results; bh=LYt6RV0P9PRzN/KHZLbNwsb6P2lH3kUx/roloQew/44=; b=Fb4tMuq4YGbrhOdFVX4VvwYuTzQ6HGX09OZwrHrDYv2hQNYEcrAewt05HGKQq6dKui alISS2SJ1ixsHN5dLTZvdYrI2aZpRsuJvE0DC8+Ydc7xqNsrUqoBFem3fjPZfMsDBnud ofMqbaZKSgSf8Wjf/E4pTRed0R2ey3kHbb7DDfbE2pGxOy8EtS8Rdc0+fgbY6iDODlff svRgYRgHE4ecSqa503lSm9q+cNFQ1vwrK2HA6ofRP3Hkjel1GhPpkxXpAwG2KaLL/exi HVsiJeWeFr1KH4akNfLvaBR/sAItVRelqYbjjHdJjRM7H4CmL4k1bRGyDnRVAVueGeyn PUvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=TJlgiXOG; 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 w16si5939076plp.206.2017.10.28.09.51.39; Sat, 28 Oct 2017 09:51:40 -0700 (PDT) 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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=TJlgiXOG; 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 S1751683AbdJ1Qvh (ORCPT + 27 others); Sat, 28 Oct 2017 12:51:37 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:39211 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429AbdJ1QvB (ORCPT ); Sat, 28 Oct 2017 12:51:01 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9SGoDXI021928; Sun, 29 Oct 2017 01:50:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9SGoDXI021928 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509209415; bh=LYt6RV0P9PRzN/KHZLbNwsb6P2lH3kUx/roloQew/44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TJlgiXOG7AjGrjUbNE2eLZMrT5xYGOXcsAZufLQQbE0batU1mSI6I5GpKRatkENQk 75gHL49WiY5QOBHnFoovJZDrieYDAhlfJFNG9tdDvG7ZSHhI7hU+a+/elJJ2bsyKab k1Upa23MzE/sTRDn7ptAQEDMHweqILYWwDOOVNI05BGIy/BSFyZasRhqEye+BlvyvN QEdIHa+Lp7f5YkWOT/dBu/tJv7vpRhJPRV5RCzEauk/LIZg0ooR4Qw8/MJLbaKtkd2 KnSgB4rfcOxGssie2rfIX5N4QAYsGjWlphgtJpaFGI5v9e2ZBCmSMuXwPF3b/idyb2 gcdfWnBkd76fA== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: Philipp Zabel Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 4/4] reset: remove reset_control_get(_optional) Date: Sun, 29 Oct 2017 01:50:09 +0900 Message-Id: <1509209409-2698-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509209409-2698-1-git-send-email-yamada.masahiro@socionext.com> References: <1509209409-2698-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No more users of these two. Signed-off-by: Masahiro Yamada --- include/linux/reset.h | 12 ------------ 1 file changed, 12 deletions(-) -- 2.7.4 diff --git a/include/linux/reset.h b/include/linux/reset.h index 53e5e78..0aa3d0d 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -343,18 +343,6 @@ devm_reset_control_get_shared_by_index(struct device *dev, int index) * These inline function calls will be removed once all consumers * have been moved over to the new explicit API. */ -static inline struct reset_control *reset_control_get( - struct device *dev, const char *id) -{ - return reset_control_get_exclusive(dev, id); -} - -static inline struct reset_control *reset_control_get_optional( - struct device *dev, const char *id) -{ - return reset_control_get_optional_exclusive(dev, id); -} - static inline struct reset_control *of_reset_control_get( struct device_node *node, const char *id) {