From patchwork Mon May 9 09:14:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian Hui Lee X-Patchwork-Id: 1628428 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=mn71E/5K; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kxb8s3fLZz9sGJ for ; Mon, 9 May 2022 19:14:37 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nnzTJ-0001gm-2l; Mon, 09 May 2022 09:14:29 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nnzTE-0001aP-NJ for kernel-team@lists.ubuntu.com; Mon, 09 May 2022 09:14:24 +0000 Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 14A2E3F221 for ; Mon, 9 May 2022 09:14:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1652087664; bh=NPWn25kCQAfMdXOAHXeP2XxO95mWW6BnCMunIIilD1A=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mn71E/5Ko9dyLcXQyR/UYBk6UV7eSudiuHpghLV0C98mi6xsSxckp1kdOWtS2gpAT P4S4/AAhCORVxEWT+JaXMwE0tBapw6X42AFY0v32rxFZakpNwT/9DKzd90POTT4TA4 8CohWYl94NeCKuA3y4jocXH+ky9CKnKDvyvPZej3iPkXlF9pnaFdeQbLL+N6GVAmjw JERZ7Irub33SVaQtw4Br6IrNshDBN2Ju0xglcWCRgTsgEyvOFot0Bd05ypTOjqfLnv E4dk/6V8iwsQbUaIgiEbrSC6on+/WkWVPTkBrlp33ZwzjqbQaxGSzjzBwfyr1SAS4v A7BE1MExs9fMw== Received: by mail-pl1-f198.google.com with SMTP id x23-20020a170902b41700b0015ea144789fso7998425plr.13 for ; Mon, 09 May 2022 02:14:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NPWn25kCQAfMdXOAHXeP2XxO95mWW6BnCMunIIilD1A=; b=exN3ZQh8uQF3tT6ccoFOLkO+Mi4257MjaVg746hZS4SvUpVySi7phv1BGKMu08ZxZV ZvAJjcfsfzoZHzoTlZAS130qFMLfeOhtWNlotQdqQSxOTGZbvo5HGBKFnLEigiSg+kXF jHyl1Lpl8hfj3n5Q64n6q2//2oyYgMfbNfTn4SXUhgivApIBpUxrjNzvbhq5q2evnSg7 90l9uMY7IfGnV3VzsGaHdNa3IGWb/On4P5eaNuNPthAjoW8LZYzzBkmoagwgZ3TT+zdn KPRMbwznz0Qga6WiugPbmfaCjUZ3YHTkuo9MeABvcJgh01WnvZBXEJioYFBUvqntqUu0 GyiA== X-Gm-Message-State: AOAM530Nn536qj4tIXOlWFu3LVPaIOMZ8kto7gejhfGtDq5T0c2PaL8S SssXUuiaCpZsaAPBPD3kfAA0xQZQWRpL0UFsL3yWjENxJ3weq73Ngb5+ATgaO8wAEUVUKX4iicA +xQNC2CTu0+8lPixAu3VpBVNPeCpBO4uXVEearzE5rA== X-Received: by 2002:a17:902:70cb:b0:158:424e:a657 with SMTP id l11-20020a17090270cb00b00158424ea657mr15365130plt.6.1652087662663; Mon, 09 May 2022 02:14:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNEC0mlRLG/e4dYyChg6+By9aEgDH0zwDuQwJbLB8KusIkeXJBe+HpZkuPmxQkmzTev+sJ5A== X-Received: by 2002:a17:902:70cb:b0:158:424e:a657 with SMTP id l11-20020a17090270cb00b00158424ea657mr15365102plt.6.1652087662120; Mon, 09 May 2022 02:14:22 -0700 (PDT) Received: from Razer-Stealth.. (36-230-106-94.dynamic-ip.hinet.net. [36.230.106.94]) by smtp.gmail.com with ESMTPSA id r1-20020a170902c7c100b0015e8d4eb2e9sm6437057pla.307.2022.05.09.02.14.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 02:14:21 -0700 (PDT) From: Jian Hui Lee To: kernel-team@lists.ubuntu.com Subject: [SRU][Focal:linux-intel-iotg-5.15][PATCH 08/10] iio: accel: adxl345: Remove unneeded blank lines Date: Mon, 9 May 2022 17:14:04 +0800 Message-Id: <20220509091406.39552-9-jianhui.lee@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220509091406.39552-1-jianhui.lee@canonical.com> References: <20220509091406.39552-1-jianhui.lee@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Andy Shevchenko BugLink: https://launchpad.net/bugs/1962674 Remove unneeded blank lines where they separate the data type definitions and the macros which are using them. Signed-off-by: Andy Shevchenko Tested-by: Kai-Heng Feng Link: https://lore.kernel.org/r/20220222090009.2060-8-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron (cherry picked from commit 4781f3e0e6cadf332f49f723ba820f35960a058d) Signed-off-by: Jian Hui Lee --- drivers/iio/accel/adxl345_i2c.c | 3 --- drivers/iio/accel/adxl345_spi.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/drivers/iio/accel/adxl345_i2c.c b/drivers/iio/accel/adxl345_i2c.c index c24f66690b6f..fc8b7576e81e 100644 --- a/drivers/iio/accel/adxl345_i2c.c +++ b/drivers/iio/accel/adxl345_i2c.c @@ -35,7 +35,6 @@ static const struct i2c_device_id adxl345_i2c_id[] = { { "adxl375", ADXL375 }, { } }; - MODULE_DEVICE_TABLE(i2c, adxl345_i2c_id); static const struct of_device_id adxl345_of_match[] = { @@ -43,7 +42,6 @@ static const struct of_device_id adxl345_of_match[] = { { .compatible = "adi,adxl375", .data = (const void *)ADXL375 }, { } }; - MODULE_DEVICE_TABLE(of, adxl345_of_match); static const struct acpi_device_id adxl345_acpi_match[] = { @@ -62,7 +60,6 @@ static struct i2c_driver adxl345_i2c_driver = { .probe_new = adxl345_i2c_probe, .id_table = adxl345_i2c_id, }; - module_i2c_driver(adxl345_i2c_driver); MODULE_AUTHOR("Eva Rachel Retuya "); diff --git a/drivers/iio/accel/adxl345_spi.c b/drivers/iio/accel/adxl345_spi.c index 899a8a000823..93bd169cbafe 100644 --- a/drivers/iio/accel/adxl345_spi.c +++ b/drivers/iio/accel/adxl345_spi.c @@ -41,7 +41,6 @@ static const struct spi_device_id adxl345_spi_id[] = { { "adxl375", ADXL375 }, { } }; - MODULE_DEVICE_TABLE(spi, adxl345_spi_id); static const struct of_device_id adxl345_of_match[] = { @@ -49,7 +48,6 @@ static const struct of_device_id adxl345_of_match[] = { { .compatible = "adi,adxl375", .data = (const void *)ADXL375 }, { } }; - MODULE_DEVICE_TABLE(of, adxl345_of_match); static const struct acpi_device_id adxl345_acpi_match[] = { @@ -67,7 +65,6 @@ static struct spi_driver adxl345_spi_driver = { .probe = adxl345_spi_probe, .id_table = adxl345_spi_id, }; - module_spi_driver(adxl345_spi_driver); MODULE_AUTHOR("Eva Rachel Retuya ");