From patchwork Sat Jan 6 22:23:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10148063 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1D26F60134 for ; Sat, 6 Jan 2018 22:23:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B89828944 for ; Sat, 6 Jan 2018 22:23:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00A4828948; Sat, 6 Jan 2018 22:23:44 +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=-6.9 required=2.0 tests=BAYES_00,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 A33D528944 for ; Sat, 6 Jan 2018 22:23:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752231AbeAFWXo (ORCPT ); Sat, 6 Jan 2018 17:23:44 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:37057 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbeAFWXn (ORCPT ); Sat, 6 Jan 2018 17:23:43 -0500 Received: by mail-wr0-f196.google.com with SMTP id f8so7328502wre.4 for ; Sat, 06 Jan 2018 14:23:43 -0800 (PST) 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; bh=3rpQIOVRksMKN7qmpa1njCt1egsxeFV75ffP73ZJRdc=; b=ssqJyiyClM4NSyimCIridd3P5S8XPDlzKmqOgutDjw4NnZYXVbCW2XlAGEcNq2ChDg 3omFRFW4r0ozpRvGa7LGr1ZF1l+4gdZN0R8Iio59v+XReoSFPQWlipRYMZeCmg+nVR/A UotpZmulnG6Ay2DrPQxpBwokuGVkqSGGRLU6fRNZgvIfrGbRm7H0oviPhkdYp4lnX5Qq m/rKZdWC6ViRXGUSrJvM+zn3XrB2PWQ82NeusWaZdnj486oYN5oouF5TAnYcDRCcusON RCoziP/0l6C1bJ3DK0qzCEoXZwjzddV057CdKyk1NfX0ayUPOjoVZwTx6CpoSKdn2kB7 vDQQ== X-Gm-Message-State: AKGB3mJODdvnqAVQmiOcdTID19Oiyh89IgGPak3uC7KLWPBF19JUbonH dksaKtWS9CHPC1yahtwA8ouNqisbKrg= X-Google-Smtp-Source: ACJfBovPCbF6cWnR9nm629c0hczCFflgUJVpseE2b8kmgUBLmNWl9/z2DI33UNsGPZ8VZAJEABbciA== X-Received: by 10.223.154.41 with SMTP id z38mr6908885wrb.212.1515277422598; Sat, 06 Jan 2018 14:23:42 -0800 (PST) Received: from localhost.localdomain ([151.66.78.0]) by smtp.gmail.com with ESMTPSA id t20sm8152056wra.16.2018.01.06.14.23.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jan 2018 14:23:42 -0800 (PST) From: Lorenzo Bianconi To: jic23@kernel.org Cc: linux-iio@vger.kernel.org Subject: [PATCH 2/2] iio: imu: st_lsm6dsx: remove st_lsm6dsx_write_with_mask() declaration Date: Sat, 6 Jan 2018 23:23:25 +0100 Message-Id: <20180106222325.17442-3-lorenzo.bianconi@redhat.com> X-Mailer: git-send-email 2.15.1 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove st_lsm6dsx_write_with_mask() declaration since it has been removed in commit 6674bef628e6 ("iio: imu: st_lsm6dsx: add regmap API support") Signed-off-by: Lorenzo Bianconi --- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h index 35acb9c96745..8fdd723afa05 100644 --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h @@ -153,8 +153,6 @@ int st_lsm6dsx_probe(struct device *dev, int irq, int hw_id, const char *name, int st_lsm6dsx_sensor_enable(struct st_lsm6dsx_sensor *sensor); int st_lsm6dsx_sensor_disable(struct st_lsm6dsx_sensor *sensor); int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw); -int st_lsm6dsx_write_with_mask(struct st_lsm6dsx_hw *hw, u8 addr, u8 mask, - u8 val); int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor, u16 watermark); int st_lsm6dsx_flush_fifo(struct st_lsm6dsx_hw *hw);