Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp1367lqm; Mon, 10 Jun 2024 10:41:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXW0eJ/XWkwSIrdzBpW+Y9wj0vvDrc/zr938oU6q2a05Kn78FasxXHxdybXwGjM+00VS9RZbMmCVvo07j4iXCFyDp5BlSfJdQxio/1Vgw== X-Google-Smtp-Source: AGHT+IEtb9S81yWoCnsq9DhzKtlXR8kZ2xt/9mCWYdGoUsqubMrJcZ1T5RR/b2rmrCHiGz8jjpKU X-Received: by 2002:a05:6a00:8682:b0:704:2a52:f3dc with SMTP id d2e1a72fcca58-705a84aa3e9mr317492b3a.7.1718041262453; Mon, 10 Jun 2024 10:41:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718041262; cv=pass; d=google.com; s=arc-20160816; b=KkLmcuh7FM/RBcGMFZTi2uhV7SKLT1inPZo3bdtvaeykhrPbC0OtwoTPITK6WLc29S BxPldtIxbPe9bMChbMXkAfSQgKY8V0FDP42V2yzh2Ug9LE6mamu7gCAQgRGQp7gxZCyx ZYujhBMi2edBE2l0D8lbdAKXBXOkBMZQ2upD8AMwCghGcpy1LM2eQenWO9sTFmf4cryJ f47O+eMMI4wRQ97Av3ALi3y/jYfwvCYFTANdEmKxB+CIF9hPZiiJv68/Em5FfZ99vgsf NzsMwoQQZk4yC58PIQnNMw/o8hnZ7J6S7jrqB0mitViiqC3RxEjuuQGYWym0H6GFCAhz 9OTQ== 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=tVPCkYxQUdy/Awp1hNg9f0j2vh3RYT3ZP4TiIfwhU08=; fh=DrDxHZ/dNj81s7rvE3YJ2+YNkOd+MeZzW2J0NWQezR0=; b=XKSkoMPJP0UIK2YOoUqt6W/eFLwrEOSvICo9tHfmF4j8OXiam0R596elD+X3OcJz2O /oc9x2btxbrDVb9Ev37oq3gXytmxg0Tu6b7y1LHODIrhmtZCqS7w49WJhViXSGdUL0Vz uzZO75Eomt3DzBOogRY+1gTDcg+PuomANguZXTeLjz0pe2FDQiXsiZK4doQjrM1ptn8l DOH9rsNDPG3NYt1W8dgzGL1mYBw+yFM9w1kwUCaoGaAsJNS/SZ4xeWogRfkvOTSfPAXF luJzjmHqOk1fkiNtSVimypsQLDPfnA+Uh5tw6FHiZosdrCuCxAVWvMSAoAy63ySvdkqz sBxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=0oaAQD0e; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-208332-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208332-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6f523c04dc9si444465a12.85.2024.06.10.10.41.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 10:41:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208332-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=0oaAQD0e; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-208332-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208332-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9C0A3B28C16 for ; Mon, 10 Jun 2024 14:09:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CE7D1411E7; Mon, 10 Jun 2024 14:06:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="0oaAQD0e" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 D5CCF12FB26 for ; Mon, 10 Jun 2024 14:05:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718028361; cv=none; b=gomhC9JWk/NFuC+oU4ccHKSbpuOG5Cv+c41n7beR21e1tuWVwG+iRC4dBpASqPqONGPA6vESBIdbbl5rCeCyZBHIw18u6evmmxGueUxH/u7YRISRGYxioFDsANjMjXKD+lVm5hRQLNONdmiSiuZ3wZPJKH3rR9DyVMp2rd01VZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718028361; c=relaxed/simple; bh=lAjgY8dLuGdGC6Fq7V7WChrbFC9MFhsTo0rHF9YQN0Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jeYhfIxqLF/yjXbT4P6KFBZM8sJegGwLcwys7obe3UKEbRpEkVx4Fyt7Eh3tOTXwfluXHCeu3Zt/A5cJQKKBipjotoQIN3JnmmmAL7BVaTNr11F9u1y4qtIMuOfIc98EMppYTpmdn7NyfBgcMbl/tLZbO4V5ptj3RKQUI2GPo5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=0oaAQD0e; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4217136a74dso22503355e9.2 for ; Mon, 10 Jun 2024 07:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1718028358; x=1718633158; 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=tVPCkYxQUdy/Awp1hNg9f0j2vh3RYT3ZP4TiIfwhU08=; b=0oaAQD0eFm2O7LnRHGPb2u9UP93GavrJIzEEEPv9bzPI+V0AWIfBfulSdSWR5QO4ae FUyt3BZrp+j1w9M+AZJc0AkZkjli6lhcDVPW0quMj8r/bARCnM3+VSFRfKGCbGQIu2lC FAi5aHiMO7ox9c5WAhBf8BsRvvA71LJXron23d8Q8hyp0QloDG2GW2fRTjsah5Mfon3B U4ACjiwZMeO/xWFsiRyxAvJIp3Elxw8tlt9+XfBKsO0YT9iPWREuBTvoxXgq70IBUQWq iLVeVEsCbeZR8RFh99g+wmCm/9djs2zFZw0rVRC1alfJjLMXMYc2kziest0U3cZXF+jE QANw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718028358; x=1718633158; 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=tVPCkYxQUdy/Awp1hNg9f0j2vh3RYT3ZP4TiIfwhU08=; b=XdEuETJEH/zC1PDaF+6cETmqhW+x42Ts4Lf+7ksaOAUdIh3ciumHhKCNsHhtAhRrk9 gIYHqLksn66J9l33xddks8tYM1lQ2KkmVq1mnrq6qjyDUtVITFJxTV9gzab6sQLr7mcj k64OnA6oXFKaZ02U9YFHZAZ/UKK/e+CF6rYVdylMW5nuKoQFa/EJErAbNKoXH1T+L6If l3DvNl86ZfdFTb7ZORiho8+IFc9J+9XeoV/YJES3MNsUGRaR8y4q5V89ajVNyMxIwJF/ oAfXWS5U9ypF1v61VE3ZxJ9JXNB6ZjrX5Lsitm5K5UdpPDM/2rg6K3v6A6JE4IhdBqWy L3sA== X-Forwarded-Encrypted: i=1; AJvYcCUdyd3dQeAW5t+DVZ/PWfp9ngjHsb0j31J6juwr1qJtFyOTe/0dNqFXMdnK8R/cdMozDG7nqJZzOYl0bQMPDA3+481KxSIIEXVLNE3F X-Gm-Message-State: AOJu0YxaI4YJOoN/NiORXa7Z5Mg5coi4VsAZZzgmK2JDIShOJFuL+bC1 THScpA5T3At7YdAr0dqlH2+0IkGu5sWYrHP5J9e/jYDVlwB1JJK663iXqaFTKWHyHESHoAT9RVw P X-Received: by 2002:a05:600c:19d3:b0:421:1165:f240 with SMTP id 5b1f17b1804b1-42164a368fcmr80385025e9.36.1718028358448; Mon, 10 Jun 2024 07:05:58 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:75a:e000:b790:b49b:9038:8e99]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42217ff4302sm11113845e9.31.2024.06.10.07.05.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 07:05:57 -0700 (PDT) From: Bartosz Golaszewski To: Linus Walleij Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Andy Shevchenko Subject: [PATCH 2/3] gpio: sim: drop kernel.h include Date: Mon, 10 Jun 2024 16:05:47 +0200 Message-ID: <20240610140548.35358-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240610140548.35358-1-brgl@bgdev.pl> References: <20240610140548.35358-1-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Bartosz Golaszewski We included kernel.h for ARRAY_SIZE() which has since been moved into its own header. Use it instead. Suggested-by: Andy Shevchenko Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-sim.c b/drivers/gpio/gpio-sim.c index 278bb0c54636..21ad8d87ef04 100644 --- a/drivers/gpio/gpio-sim.c +++ b/drivers/gpio/gpio-sim.c @@ -7,6 +7,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include #include #include #include @@ -20,7 +21,6 @@ #include #include #include -#include #include #include #include -- 2.40.1