Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7153843ybi; Mon, 8 Jul 2019 15:44:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQCGbm/rimqCOmhgFl5rYXSagQeJVpSIO6MhpiUH4hYZ6JiITJH5X9XrYBZSor0zFsKrx5 X-Received: by 2002:a17:90b:28f:: with SMTP id az15mr20538535pjb.18.1562625861373; Mon, 08 Jul 2019 15:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625861; cv=none; d=google.com; s=arc-20160816; b=Rt+8D3WnW9sJ5/ZBo6MCPECVFLo+5fzFU3vcyOEexpT1E/Z5PKBeQijuWNwPAuvIMe sCqnVyHTRoBuJjTd9i2UTpyx7633ndPWskO29+FgbnZc+QfS0hS7BjG9coyg7/AMRRZb tj2Lb1tdzAaGKf2lPUJylKHsl/nTcq7h/CKDoZ3UGXMmxt4iYd0XxOzIYyMGiSYrjSy5 DO7/Zv0CloUVs8TAyiJMa2UjHs0UzsqgQK0Hfp5RjWye2zSNG/U5OR74G2ME5wrtqCYD /60shdfM+kyePu/FQOEsZ3z7h0yoM4Bs6aAieng5Gef3V2eULAGxE7o7FICUJA3ljtF3 rJ9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=uXyuo2g4akO/rflhBob2HGNH9vo/urZZU/7rwD/7OQk=; b=kgZ4OrvrepUF851ly24u7iJNVSxhzakqTTVzc+Zhggmv3T797x5GJelYb/tNdJE7v5 NPq6xJCfibs1FGvLw1U0lGtIptfAZtuaThPeQZQsoxOrqs0NMlswVRhfcZ3TJFUQT7t9 jMxWJ79d2m0q/yn5An28FcluZuamVRhcuS1FpxIz+fvdtaySZ/mlY0533ZT2U520GiFM v21SUqh+4jeYRn/xhZ9ntYl4KAMM3FGDwViFcpxvUJjNsOei3I5wbKTr0qbdHwtXhUl/ LPDE+NS4HJY9d5melERWthWkcvgLbo0UL7WHEN8erdTfB0nmVD6/nrVcIYU036TkU5Dp Id2g== 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 g7si18936884pgi.38.2019.07.08.15.44.06; Mon, 08 Jul 2019 15:44:21 -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; 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 S1732167AbfGHRVs (ORCPT + 99 others); Mon, 8 Jul 2019 13:21:48 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39603 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728744AbfGHRVs (ORCPT ); Mon, 8 Jul 2019 13:21:48 -0400 Received: by mail-wr1-f66.google.com with SMTP id x4so18019998wrt.6; Mon, 08 Jul 2019 10:21:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uXyuo2g4akO/rflhBob2HGNH9vo/urZZU/7rwD/7OQk=; b=SFhiMTpZDU5MapzrF800zAG91bIxCaShuCHUo5YPw1Fn10yJad/dqiYxoiGBtnvV/7 gn3sqq8TbO7AWD7cZBaiBucMzM6npxoRaK2Rk0JzlWtbEHd2Ea8OlK516xVHkzzeQ7gj NXygAxN7FUbVGNyxcZZKKuVLAmnjPZ0RaUHfDqACPMU887FDHhspYy43DH9C4R6gA7zh ebLRd9pNfWxToDKq9qzS+Q2T+tQf9KB/ChJZ7n5EaKnuP5Yypv1/gNUCqwNrMVk+sFW9 qXLX/zAlaPi655wYIyDZwSDvWOAfykF/QVGtT4gUvUG4BEjnxlXtqEquBWFNBjeoFCbE bQWQ== X-Gm-Message-State: APjAAAWVNye8KPMuAgf5ONG5EsrknmK5PI38bNTQgW0Ew59cs5AAWb48 nazSUDtT2H97NXdZe5shuzM= X-Received: by 2002:adf:aa93:: with SMTP id h19mr19563580wrc.3.1562606506301; Mon, 08 Jul 2019 10:21:46 -0700 (PDT) Received: from green.intra.ispras.ru (bran.ispras.ru. [83.149.199.196]) by smtp.googlemail.com with ESMTPSA id h11sm16376853wro.73.2019.07.08.10.21.45 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 10:21:45 -0700 (PDT) From: Denis Efremov To: Andrew Duggan Cc: Denis Efremov , Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: synaptics-rmi4 - remove the exporting of rmi_2d_sensor_set_input_params Date: Mon, 8 Jul 2019 20:21:38 +0300 Message-Id: <20190708172138.31009-1-efremov@linux.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function rmi_2d_sensor_set_input_params is declared static and marked EXPORT_SYMBOL_GPL, which is at best an odd combination. Because the function is not used outside of the drivers/input/rmi4/rmi_2d_sensor.c file it is defined in, this commit removes the EXPORT_SYMBOL_GPL() marking. Signed-off-by: Denis Efremov --- drivers/input/rmi4/rmi_2d_sensor.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/rmi4/rmi_2d_sensor.c b/drivers/input/rmi4/rmi_2d_sensor.c index ea549efe4bc4..b7fe6eb35a4e 100644 --- a/drivers/input/rmi4/rmi_2d_sensor.c +++ b/drivers/input/rmi4/rmi_2d_sensor.c @@ -204,7 +204,6 @@ static void rmi_2d_sensor_set_input_params(struct rmi_2d_sensor *sensor) if (sensor->topbuttonpad) set_bit(INPUT_PROP_TOPBUTTONPAD, input->propbit); } -EXPORT_SYMBOL_GPL(rmi_2d_sensor_set_input_params); int rmi_2d_sensor_configure_input(struct rmi_function *fn, struct rmi_2d_sensor *sensor) -- 2.21.0