From patchwork Mon Jul 8 17:21:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Denis Efremov (Oracle)" X-Patchwork-Id: 11035489 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ABA6A14DB for ; Mon, 8 Jul 2019 17:21:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B5E626BE9 for ; Mon, 8 Jul 2019 17:21:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F737285F2; Mon, 8 Jul 2019 17:21:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35EC826BE9 for ; Mon, 8 Jul 2019 17:21:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730113AbfGHRVs (ORCPT ); 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-Google-Smtp-Source: APXvYqzLOITvxGq9hmemZ5mYsiA6citBYgRcyrb+hXyrIxCX+rk6D4G4JFHs99QgjjzlFcbExJ03Cg== 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 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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)