Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp59062lqp; Sun, 9 Jun 2024 16:39:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjQ8pGqSqUjWLGcsdUY8OadgfqxyNBmnuy9ukIjCP6IdoIOKIk4h0V1lhvVUxi4PGAO+xKFSKtojWbwjEK7rKZ/S6Ww6QIHunQ1yDCZQ== X-Google-Smtp-Source: AGHT+IFdayjuUWL61QuC4Noqk0oAdcyI+KwBR8hRfBZLOHefWc1z8Lsa4METR+vovzqW8LBNb0mf X-Received: by 2002:a05:6808:3096:b0:3d2:3d0:2cf0 with SMTP id 5614622812f47-3d210d2b00cmr9657913b6e.11.1717976376017; Sun, 09 Jun 2024 16:39:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717976375; cv=pass; d=google.com; s=arc-20160816; b=Y4kyQeAnZ6TgVzjS1Hs9DghOp4XAaLqvWamsfBwKz92RXs5lMr0ReXlszq3gqVpMVm qHB92Us5cVVTPNgcl8CISLPXtcotCi0ieJ5K6J49aguC1LNEnMlO4Ir71l7Zy7WGQPxA X8pjC1Nnf56zfmbsuuHUuKzMuCeHmHbBwlr5/m2ikPqE5hZfw9y0eXcBkes1KMf4cz8k PQtyAtwZ8X2PE7g3kkbQ8iog91XxT+3b0Y+AHrtF48cR0VPA6aOlapo0PXfaMMkeezc4 XZsadWueIh23NzoXkb5/6vuR97SRZCE9JZCU2iCPft0egvoFneaDkbQPZXEaOfsNnKSb podA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=KNURLBgWnSUQosa2pT+J1wTI3cPFItjzm7xacdHoCD4=; fh=YHYMVxPXcJMYebIhshGHNTRViFB7PUXCUfMsVn8i6tc=; b=E78spxQYwNgEUQ6bnbUDX29EFsD/K+FkX8k5MWkB1m0PbMud8A21e5WgfN8xQ33deR 0SSAg/ubwsnwqMl/hZ6tPxerv60KQLRkNDk0AcAV2yKqV+DdQCm6wb/jAhOjULhjfD0Q 5JBP6F++kG6zVKs+t1H9w1OLAxn9x/4C0iDWLnaeA5ywLhz2YEIPZwtZlA1nCj82b+Ht 5+NYy0o8K57GJ5xxKqK05KYY43JGpp+bTsuIG5oQIc0ILFOCihGHYQhx4nR8X8uBnstl UvUN02L8v54tdelxXdWFX6pjMej0RG/uJB7hAOlzJmhVege56eiu5NmKpngLwH16ZWjI j6SQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="l/R97qGO"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-207543-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207543-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-440649a1ebdsi22773001cf.139.2024.06.09.16.39.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 16:39:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207543-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="l/R97qGO"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-207543-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207543-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B53EE1C209A4 for ; Sun, 9 Jun 2024 23:39:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 940366F306; Sun, 9 Jun 2024 23:38:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l/R97qGO" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA5215FBB1; Sun, 9 Jun 2024 23:38:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717976318; cv=none; b=RRrfVofyR5BaiC0wgK8dp0lmPrJ6i3pIjMSzPLc6hnH8ImMlLCNlckFRfdkHFjrVC0w8QjGdks/277oYtqDzdwRFobCuhZijPAtplurt7EebnfRhHXm9Yegcx6FRotujGavDpbbz/A1z6X21NOrqsmJ88Y4ATczEH+szL6UxLZs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717976318; c=relaxed/simple; bh=DQy++SwXyATSNKkyA5DvKAjxCFRXT1GN9A5yTV1vq9Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FHo7IhKgk5DglKUBHwG9hvzGVxRxk4NJ4W1ytp0bNJLmyX6uuEnm53oHu00+gjR7QFUea8zx+N53X2TxgSrevLbq1+DuErV00FJZYqKwoFuNrG7TLa1SwR6b627+6dbHLvPc66FH+cCuecswOjnmoIEBdTBO/XAMuxAQPJ2yS6Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=l/R97qGO; arc=none smtp.client-ip=209.85.167.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-52bc27cfb14so2661985e87.0; Sun, 09 Jun 2024 16:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717976315; x=1718581115; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KNURLBgWnSUQosa2pT+J1wTI3cPFItjzm7xacdHoCD4=; b=l/R97qGOimH7HJ7u3k/wAs3wI2hAQlc7xk5q/fyEtHn+7AW9LNqixk96/zDO5COGDk MHUIn0xRtyw1KdOFNy0mCnXk/lwUJTVAiii/BikSsSnQfFtX+OwrVAyUVHfbgCQROpcR k+DueYT3T7IHuExWBmm0kv0nCrZhsbTdGyCAgSSfRGp+qaU0kcTVhZc1Qb9Xc5vcRhji wmxUNXp001nFIwlFgvQKQii4+RnqPgCUfNyqxAEUi+YVr87W8k9T+18kBU3YJonXNIPg VAX6qdHJg9fc7VqBTsRYkiw+w8DAjupDhD9Tk/B2RK7TX2lGCiNpulIx0KyZyHWKElxq 22QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717976315; x=1718581115; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KNURLBgWnSUQosa2pT+J1wTI3cPFItjzm7xacdHoCD4=; b=Vn43bkPCp6jZUy20F4ixYMUFS3m0hChQNxhi72ze6dn7pvApKf7xn70zWKXRYIiJDO NUtxZEFkjS9A4hdFmbig7/qGwNiUaNPoPBGt/5/HkJHtxZAXx1n+pL9fX76Im54bk18p Qc8db949Sx/z1KX3lVu5ItXZoDX1q52J/saU2/fTT+hAXmSIcGAtA9mSs/AG4qxymgNw LRnu3rCTFea7ItmwB/lFu9PCdyf5wssDjIYcXGD0EivYc1yCzz3kV+N18nwP7sLcWEUj KO2RrBVKGjA2RmH+kMm8JUCCFctNDQRqymqK1Mc2Zbxg0iYSCqCF6Mf3YIb/jRmlfPuP ZwFw== X-Forwarded-Encrypted: i=1; AJvYcCWdxQRItT1WMjnjnpoEtc+za1grCAJEGhCcfO2pVxjnotT2ux9JCLYOVZMJgI/9U1g5EEevb0VPwQTqW4tr7ar/dmUdgMHTNWXPG4HKTOcZvgIzaKEvfroGAL9EhT8Xdd33mSe8Pokc X-Gm-Message-State: AOJu0YxmXjiMhYCWoVrFj+aMmN6TfDPOxdLUM6RmkBsLmTC19PIjaZbW wi1DAA37EMc33lfb2e3aLrfxzxQ90HZcfk/UbjqgHtPc/3KjbExf X-Received: by 2002:ac2:53a6:0:b0:52c:8517:c6ed with SMTP id 2adb3069b0e04-52c8517c80cmr1687525e87.0.1717976314741; Sun, 09 Jun 2024 16:38:34 -0700 (PDT) Received: from localhost.localdomain ([2a04:ee41:82:7577:635a:738f:880f:9ea5]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f20bb1abesm46063366b.172.2024.06.09.16.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 16:38:34 -0700 (PDT) From: Vasileios Amoiridis To: jic23@kernel.org Cc: dpfrey@gmail.com, himanshujha199640@gmail.com, lars@metafoo.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, mike.looijmans@topic.nl, vassilisamir@gmail.com Subject: [PATCH v3 04/15] iio: chemical: bme680: Remove remaining ACPI-only stuff Date: Mon, 10 Jun 2024 01:38:15 +0200 Message-Id: <20240609233826.330516-5-vassilisamir@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240609233826.330516-1-vassilisamir@gmail.com> References: <20240609233826.330516-1-vassilisamir@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The ACPI ID table was removed with the following 2 commits: Commit b73d21dccf68 ("iio: bme680_i2c: Remove acpi_device_id table") Commit f0e4057e97c1 ("iio: bme680_spi: Remove acpi_device_id table") Remove the remaining ACPI related stuff to this driver since they are not directly used. Signed-off-by: Vasileios Amoiridis --- drivers/iio/chemical/bme680_core.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/iio/chemical/bme680_core.c b/drivers/iio/chemical/bme680_core.c index 577237d4c9f3..1d2d5920fb23 100644 --- a/drivers/iio/chemical/bme680_core.c +++ b/drivers/iio/chemical/bme680_core.c @@ -8,7 +8,6 @@ * Datasheet: * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME680-DS001-00.pdf */ -#include #include #include #include @@ -927,17 +926,6 @@ static const struct iio_info bme680_info = { .attrs = &bme680_attribute_group, }; -static const char *bme680_match_acpi_device(struct device *dev) -{ - const struct acpi_device_id *id; - - id = acpi_match_device(dev->driver->acpi_match_table, dev); - if (!id) - return NULL; - - return dev_name(dev); -} - int bme680_core_probe(struct device *dev, struct regmap *regmap, const char *name) { @@ -969,9 +957,6 @@ int bme680_core_probe(struct device *dev, struct regmap *regmap, if (!indio_dev) return -ENOMEM; - if (!name && ACPI_HANDLE(dev)) - name = bme680_match_acpi_device(dev); - data = iio_priv(indio_dev); mutex_init(&data->lock); dev_set_drvdata(dev, indio_dev); -- 2.25.1