From patchwork Sun Jul 23 16:26:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 9858479 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 5C2F7602CB for ; Sun, 23 Jul 2017 16:26:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D1A521E5A for ; Sun, 23 Jul 2017 16:26:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41ACA27EE2; Sun, 23 Jul 2017 16:26:57 +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 E8AFA21E5A for ; Sun, 23 Jul 2017 16:26:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755440AbdGWQ0z (ORCPT ); Sun, 23 Jul 2017 12:26:55 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:55690 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755414AbdGWQ0r (ORCPT ); Sun, 23 Jul 2017 12:26:47 -0400 Received: from localhost.localdomain (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) by saturn.retrosnub.co.uk (Postfix; Retrosnub mail submission) with ESMTPSA id A117442A2C; Sun, 23 Jul 2017 17:26:45 +0100 (BST) From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Lars-Peter Clausen , Jonathan Cameron , platform-driver-x86@vger.kernel.org, Jonathan Cameron Subject: [PATCH 38/45] platform/x86: toshiba_acpi: drop assignment of iio_info.driver_module Date: Sun, 23 Jul 2017 17:26:20 +0100 Message-Id: <20170723162627.22534-39-Jonathan.Cameron@huawei.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170723162627.22534-1-Jonathan.Cameron@huawei.com> References: <20170723162627.22534-1-Jonathan.Cameron@huawei.com> Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron This is now handled by use of a macro for device registration. The field in iio_info will be going away shortly as it is no longer used. Cc: Signed-off-by: Jonathan Cameron Acked-by: Andy Shevchenko Acked-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index d0daf75cbed1..ef4301f41727 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c @@ -2515,7 +2515,6 @@ static const struct iio_chan_spec toshiba_iio_accel_channels[] = { }; static const struct iio_info toshiba_iio_accel_info = { - .driver_module = THIS_MODULE, .read_raw = &toshiba_iio_accel_read_raw, };