From patchwork Fri Sep 27 21:37:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 831699 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.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 03466158550; Fri, 27 Sep 2024 21:38:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473100; cv=none; b=WzYOzaKyhSPFgSw3a9WoBsuEkzHtGNJRZI24H+7IGX9zen/EuDHDb4EMHG0X7P8ZLDgqnw7Q08yi3lVxkZfYaz2DoPusw0QChG7vonCcRCFVkL+TZANxz5DH442Zr1zTb+YVBr2DX2AmKDO0yO9PWkm0ipBrS/mYrAcec+hxztk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473100; c=relaxed/simple; bh=QmmOOk4TnVKdlYxFndbIWBuXKXkmwWqKpukhrGkEJYM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C3rcHwfLZ9jOdqjlAm04Z+8XGZqB3eN2bkgMuvrnxmNIJ5PZM4UJHJqpll7O5M1nDHJADmwz7nuCGjqrhaszT88ZH4jABEDU0zuYU2OCGDNHptaXeruJzum0qAhCQpXt/v5dwU6zU9Ik0ftzetqJD7MYQBfNQUIk0YM+SMBXUQQ= 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=iHt3JNeV; arc=none smtp.client-ip=209.85.218.45 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iHt3JNeV" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a93a1cda54dso339993866b.2; Fri, 27 Sep 2024 14:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727473097; x=1728077897; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=cS+YBfEhozJBUx9NibAYsJlEghouAx/BLXF7tSWQFmk=; b=iHt3JNeVpjadwNEyjhzypi6ylitsSai6TTeqNtSq5aIYtfd1oK72pCFq0axYTxynxW r0aGjvdU3MI3FOmJtbrBjLT64g0ULRAgOO3DtX0WVB1RVKXIaIbJXe8Quy3toOo9iXgf l60tc13YQCD0/Tp10rqvfLo/NTYQpj3xX5uBsD8YyLMosA53XRbepFZyfFDQbm+4SwoZ zejr9u6aDJTIEa2aNo+Fpu0PXyqNzmsUJFv3DV6kWvk9n0ej5H9H1bLta0esfv4hTBqj qrFUNkHWoAp27q8qMWHkmciCf4UsDG9PSYxn8Mm++7ofOUZAUYkJeCmiojwtCFhr1AYg kAxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727473097; x=1728077897; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cS+YBfEhozJBUx9NibAYsJlEghouAx/BLXF7tSWQFmk=; b=USY26as0jRZU31yC9KMqtkTLXXtvKmb/3eXrho8MtID8evW4DjBDBjG8QsPpMuZlSl 8V0hH0f964MfgxAHQXWhZ92AL1V+tYBh2fld4UciBwOtYJ6AW9FUpIxO7uae34m4w7E9 cYfYWndGkpmz9Nf8LYaSeKnOZt8YoxOzIGGKgqaWV0sfGPn0zIfYFZQ0phHChVQH3sEX qVCDbVEVS0aiYii1qWxkGyQF0zxGuOAFLNpps7ASQoLGMEAlFcm8sufRPxeB8tAdKN+y BRy2xxRwoycV04qubRSDyU4fpqOkhEW6wgI2H3nRt5H9OjRnClV89lqOrebv6Bskuug8 hgZg== X-Forwarded-Encrypted: i=1; AJvYcCXjqxPtOJUj2PZhf3GxnNwk4L3LlOM6qB0NNExUJTfyx6SUoeRiAmzSgOi4mE0/iRXAAaKYjK5ekJ5EQ/M=@vger.kernel.org X-Gm-Message-State: AOJu0Yx0rcdghK1LYtasJy1u+PDk9r+RYcGCrdcGfANkmDY7LS71IcUg AP0L0sx2GPMLIMmXYQeOmxof7zTyJ2fC/k674VJqdHdie8W6q9oj X-Google-Smtp-Source: AGHT+IHfZ5L7htef831RfbTy5gKBHnkCvffO1/C+lsEn1O9GMXr+kLi4I3oX4TvQzbUwlPmbHqA+kQ== X-Received: by 2002:a17:906:4fc8:b0:a8d:3338:a492 with SMTP id a640c23a62f3a-a93c48f1d78mr346223666b.7.1727473097252; Fri, 27 Sep 2024 14:38:17 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-6e73-3ff7-9936-9d4d.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:6e73:3ff7:9936:9d4d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2978a04sm179174366b.144.2024.09.27.14.38.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 14:38:16 -0700 (PDT) From: Javier Carrasco Date: Fri, 27 Sep 2024 23:37:40 +0200 Subject: [PATCH 1/6] leds: flash: Remove unused local leds.h Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240927-leds_unused_leds_h-v1-1-46fbf41ed4ae@gmail.com> References: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> In-Reply-To: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> To: Pavel Machek , Lee Jones , =?utf-8?q?Marek?= =?utf-8?q?_Beh=C3=BAn?= Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727473094; l=643; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=QmmOOk4TnVKdlYxFndbIWBuXKXkmwWqKpukhrGkEJYM=; b=y1q9SUnBBr/e/BqQyCpi4fv2rSF5rd/Y7PbYQgpaNBFRZK0grfqKf4A5zr8aHZVfC7w6W9ZuE 5A07MmO9gIQDDRC9BD+YZY6ZI8nQ3NmcjkuhM+UImB2Q4oUhkWIYCai X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver does not require any element from the local leds.h. Drop unused header. Signed-off-by: Javier Carrasco --- drivers/leds/led-class-flash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/leds/led-class-flash.c b/drivers/leds/led-class-flash.c index 6fe9d700dfef..f4e26ce84862 100644 --- a/drivers/leds/led-class-flash.c +++ b/drivers/leds/led-class-flash.c @@ -12,7 +12,6 @@ #include #include #include -#include "leds.h" #define has_flash_op(fled_cdev, op) \ (fled_cdev && fled_cdev->ops->op) From patchwork Fri Sep 27 21:37:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 831114 Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 6A9D117E01D; Fri, 27 Sep 2024 21:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473102; cv=none; b=ghi9iKKWtQPbPzGJwyIQD5aZH8FAEbvfzCAm3FUMNXhXg41h9/htp7LC4DcXRdyRwGc+IeizlIgEF1Ky/us31n5gqe15/Jfum5nKNaIp1JOq6fLoFUGyHNLqhOpXT7oE77RomusVw8ZVBGDkHqJU+teoI2P2b09865P/GofwOPA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473102; c=relaxed/simple; bh=crgeMaJGRYnJUsSv1C+r4CDEushVzHzji9FATg0Rl3g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=h1+O0fUfZk6irfSW8xCjnaIvMzycCi9fM92k8pHtRdEfUgM8QN5tRX067+892irhxy+MgESk7D7JM1wpmaB3iBJ4SK2RpxAc4i8AAe5eFi0kivwF7A7eDmN+XM9AOahWGwd9bgrqYY8F0X//YVBpYB6N8wp3V8gD9G0e8suXap0= 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=fLMDYsIL; arc=none smtp.client-ip=209.85.218.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fLMDYsIL" Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a8a7cdfdd80so361872366b.0; Fri, 27 Sep 2024 14:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727473099; x=1728077899; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=3JAczy5NWiAaSvBOAbeEafwBf4rdAnSDRW5XFj8JZ0g=; b=fLMDYsILqL4T0AcTj8KiZjZSBifCdTakzp8hgVNYoXMA+nl4/aXca4u0SG6BTrmNQ1 /Og4+SL3S6/8sxwSlZA27piteXpnIyR+FJlV1dysJFLJljLslQjXrr5mhzMnGVg2jGPK ZstQUezWlsxgWGbJvlPa0zBOXQYJ2m9AFky5ColJ2cjFXw+BP+3OUiqBiSSSY5fL7DmI 9MX3Jj3cuO5l1ZCHYjN0P+fBGuUVxMsOcz6A1dm7ia7z9hUQO0MSgbg/I4auo3cz0kUb oB3n5fccMgBhneBIvFjyhENXfNVNbecPKAmDn/uy8HWHdXSu1KXGJ2bU8zXP2OFsFA4y zKkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727473099; x=1728077899; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3JAczy5NWiAaSvBOAbeEafwBf4rdAnSDRW5XFj8JZ0g=; b=eL3AH9CYJmhIgTO3EXnhj+9BkBcVt9euUgxX32OTcr3XRy9osm4zlE4x1qhB8d5BGb r6CKf99n2RcTXM0LHPjViUJGLADHTYKIBuASbC+PCahaskZLzaqtYS5bK4daR37LKc4D KW5pYmLy5fqNGE3OcAS1waFYzhop/9Pvq1oPltgSJDWP6Q1MK/pr9hTMccbzi7f9JQKZ l93gkvY5IKLQERbEtAMNZLt4VZWO4/6mnmt+8qroLAsNLIgjYpPsUzK3IeBNbh5cb45Z le+aTF98HmNj7aVzqSsCeNrbqLNcUZWh933LDa2m5uvCGh56viWp4T16KJddWU8gWhjV SUMw== X-Forwarded-Encrypted: i=1; AJvYcCXJttW3+vLTwyZ8r/NH0g9NBpMvmFCc5lclthSaseySzK5BK9Rk8tGzqNeD3UNdHTFI84LpRvKeJRLYsbg=@vger.kernel.org X-Gm-Message-State: AOJu0YwoMRThugBsRMVd7jMKSAWL5Gk/+N9rEciKyY5uKDuaPkARhLgj Y6F8Znh3q5yxHv56d3OwlGR1ydnLgvSUcgcWaL/5N8CjGV+R/gRT X-Google-Smtp-Source: AGHT+IHjYKO/+LCtFh2NFtcWiK7GurS4hKeWsTjGKUCfSmOxsjgHr9e1lBJdzZ8c80EevleDM2cKYg== X-Received: by 2002:a17:907:36c5:b0:a86:7514:e649 with SMTP id a640c23a62f3a-a93c4a69d42mr444899666b.52.1727473098593; Fri, 27 Sep 2024 14:38:18 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-6e73-3ff7-9936-9d4d.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:6e73:3ff7:9936:9d4d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2978a04sm179174366b.144.2024.09.27.14.38.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 14:38:18 -0700 (PDT) From: Javier Carrasco Date: Fri, 27 Sep 2024 23:37:41 +0200 Subject: [PATCH 2/6] leds: multicolor: Remove unused local leds.h Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240927-leds_unused_leds_h-v1-2-46fbf41ed4ae@gmail.com> References: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> In-Reply-To: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> To: Pavel Machek , Lee Jones , =?utf-8?q?Marek?= =?utf-8?q?_Beh=C3=BAn?= Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727473094; l=682; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=crgeMaJGRYnJUsSv1C+r4CDEushVzHzji9FATg0Rl3g=; b=PKK8hixWg+IAdT3Nqpa6WnbZvnRzE7bNl0Hh+DJABs0R7z0Di4AGJoPwh1MGmqo+PYQeNIS8c /r1zg91/k9/CKI31rEyhc9wHh07+dyK/WcAleyT8ulbrSt+iz0Zxwj0 X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver does not require any element from the local leds.h. Drop unused header. Signed-off-by: Javier Carrasco --- drivers/leds/led-class-multicolor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/leds/led-class-multicolor.c b/drivers/leds/led-class-multicolor.c index 30c1ecb5f361..b2a87c994816 100644 --- a/drivers/leds/led-class-multicolor.c +++ b/drivers/leds/led-class-multicolor.c @@ -11,8 +11,6 @@ #include #include -#include "leds.h" - int led_mc_calc_color_components(struct led_classdev_mc *mcled_cdev, enum led_brightness brightness) { From patchwork Fri Sep 27 21:37:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 831698 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.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 ED71918A92F; Fri, 27 Sep 2024 21:38:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473103; cv=none; b=gPrUM7Wb7F5PAqrMjYmBWzDzCOVU32KD2giAWnEBFj3+BroD0q2rATluo4xDQU7D6xfwxOfjgYK81D6XEmXYc6/V7ZJ2NefKwZSztgLGIAhRbBqHI/2ZiG2i5eWK8gNBKBGui1SJxAMJhGvDTL7AIK94v6GqU8P2wgnXONTgPug= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473103; c=relaxed/simple; bh=9uJ8SHTbTZ7XC+DRyBI/O8OtFz55iwKf6d5eETE7Zgk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OfBeGgEsG1DCpvWeHYI7RT/dEn2iJMqVrn26B46g7KUak/g3dprRp76l+OFePXm/P4J1w+003TNGyoveD4ilCNC4xPgc5XnA9XV5db8rZILi3OU3fVXH6yY1yix+iMVuBerCrGL69oN8H12OXEEsYNVwnHkPdPbsa+X66zJOWc8= 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=hwpHLF1L; arc=none smtp.client-ip=209.85.218.45 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hwpHLF1L" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a7a843bef98so330580266b.2; Fri, 27 Sep 2024 14:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727473100; x=1728077900; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ImW9O1E1jH5Wo9Bs/Ji49hZnCSt5ZWPKHtoHPYW2B1Y=; b=hwpHLF1L21jGAX6bXssZHottIvSah5npzV8Y6sP/7V5Em3FOFpabZgSrVk03uR6r9V 1Rwnrh2hfgensLEzRbpRSMIG4LhjQia16Koy1JTg6AeHz2KB2CaIjGz18TNjYKTvf+iI 5w/uKXbbrSlaSnU5twKTQfvt8LbLIAd+WOzNryEAxWeCZ3uGglm9rypfOlPY2V/iCaCO Um9jAjN4w/rTQSfXHPUwQxHyG1+lajM2txNSEErG9Nqj1FRs7IzNx0XMJmKqEsgLkhoJ MQbISW0IfSv/VUxOgjU5nuQEMZvqPP9zEKcEIRvjjWntoYg8X6oEEV2EoJw0MAKDFEuY DMTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727473100; x=1728077900; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ImW9O1E1jH5Wo9Bs/Ji49hZnCSt5ZWPKHtoHPYW2B1Y=; b=UrCF4anKPvZZHITGPdsMbNnKAxrNUmljbLxBx1rmmzUbjozI0ct1FkoM3GZpQnEDXa TxwxOW4B0B3MR1OsLDhpox+e+bsI3JxgaH++oVcw+bpYRFPcXtoRB2HYXeumZ8yWHxe1 QaTfZQkAxRF1jz3t3b5QVpEic+3QPx71CuHpurdpEm5kAaOmkORtQCOh/nVW41inxhdO 7RSFM/AjnlUwN7eqAljidnEbv/zW1ZPKY9HEaMnWF9JrVnSQdBgsq0nuzLwBwTCU+l1s 35lQjUeQ0ZJGHkMenLE9iKrsE8wqHJvZ9u5pE3mtHmNupJZYmqpLmIoiDnxzcyQTm4Dp zanw== X-Forwarded-Encrypted: i=1; AJvYcCU+caB9sZrB5tNX5TCLD3k4ptFv34uY2fdHvwpb3OR3gTpqokpj3NSt4ttL+o9mjytdqSIxy7aT6LXBr6A=@vger.kernel.org X-Gm-Message-State: AOJu0YySuD00uT0kpnULf61UbzN2N/LL8e0AeHfAO1l9fBILPenAQlez sQ6Ersv0T8pHMp/JL6+Vy9U0h09OG9K9PR+uFCsPhIQNwu5cZUmX X-Google-Smtp-Source: AGHT+IHIKFJ24JX1RS5dv/HVKZicIUoSC3Qq0ExHFcid4yoc6FQnBQvo56RBIrlghf4xKkyUy93xAw== X-Received: by 2002:a17:907:8692:b0:a8d:44a5:1c2f with SMTP id a640c23a62f3a-a93c48f089bmr396325666b.6.1727473100079; Fri, 27 Sep 2024 14:38:20 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-6e73-3ff7-9936-9d4d.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:6e73:3ff7:9936:9d4d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2978a04sm179174366b.144.2024.09.27.14.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 14:38:19 -0700 (PDT) From: Javier Carrasco Date: Fri, 27 Sep 2024 23:37:42 +0200 Subject: [PATCH 3/6] leds: gpio: Remove unused local leds.h Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240927-leds_unused_leds_h-v1-3-46fbf41ed4ae@gmail.com> References: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> In-Reply-To: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> To: Pavel Machek , Lee Jones , =?utf-8?q?Marek?= =?utf-8?q?_Beh=C3=BAn?= Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727473094; l=751; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=9uJ8SHTbTZ7XC+DRyBI/O8OtFz55iwKf6d5eETE7Zgk=; b=ekzgrQiI15ewtW4fskpgpM0g5mzZGtvX9qB0K3M3unUnRai8mcCZxrF8cyMjJhSLr4KldkeNu yZPQ2+ZWFctDaVv9fgPVHYc2poOBpp7Y37srPFG1YVP08mV+rGxJ5BY X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= Commit 156a5bb89ca6 ("leds: Move led_init_default_state_get() to the global header") moved the only element leds-gpio required from the local leds.h to its global counterpart. Drop the inclusion of the local leds.h as it is no longer used. Signed-off-by: Javier Carrasco --- drivers/leds/leds-gpio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 4d1612d557c8..3ccde6a5780a 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c @@ -21,8 +21,6 @@ #include #include -#include "leds.h" - struct gpio_led_data { struct led_classdev cdev; struct gpio_desc *gpiod; From patchwork Fri Sep 27 21:37:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 831113 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 9DB451A01BE; Fri, 27 Sep 2024 21:38:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473105; cv=none; b=egOqpws2yg8jJPBwz6h5mOOEZMTRnadRAaoUY9GHma1fsJ3LNkpQfoiBYCtFd6Nm+3AYMPPWgXPkDmDBrJe9s1MVG97Z7+fvW+xlBH2Gd0Y9cgaPUYaCvX4Jitq8HA/loZn9edrrs8GeGXt79B0yUKI5Wwd1g7sCu/gXaa27JsY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473105; c=relaxed/simple; bh=YOeQsa6SrzSY24cx2WpfGMj5ASvNWNSAqhkRs6HTHPk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=K6lSmp/trssgyyClBrIAdNWwNL9mMhzOH9Beej+WLTQq9TNYM15nV8S/CNLb9RcNRA5OR8kEA/aPwGPGurBYoarwxmz4htwX3x4QmcUhZP6Pj5O4eaqBoCMvmjdHIrI8S5oUSC2OuY0miTAL9IHwshXmu1m/iPj3D1Qq/9FAINY= 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=b/7BXHbh; arc=none smtp.client-ip=209.85.218.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="b/7BXHbh" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a7a843bef98so330583166b.2; Fri, 27 Sep 2024 14:38:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727473102; x=1728077902; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=FCdtxwo1U+OBHn6pgJSbRmn/A6Zt0b43Qo1bC/fhSkE=; b=b/7BXHbh8nO3EOzuydOokRW7ZGo+0PDZiuCm3UUp1MUfAd56nbTaz+p7XrX/YihtjT L0HiaO7su6B55rtn1gw9g/hzAiuinD8KLgbdw0QteYDvMe+5YNeSyRD4lJuCko8O/e7f qwLsXN0qiU++oTxXgEw/hzAk4cqq3Z/Mr3kqwvqSPPAp8RRbSPBPvGP2c27DTkDm+a8n 1PQ9MiFDbsPPjSxjctNCdaYjmPKJcjBq49QjEJZDsVIbYqO9d7C5A/5KTquHPLq57EL2 uYwq+OCdST/KRtN4Wne4U/Jzpa1tGZGjkR4rR8/0vbM/sNNsZgbWF0vebQz5DtG2IytS /HJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727473102; x=1728077902; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FCdtxwo1U+OBHn6pgJSbRmn/A6Zt0b43Qo1bC/fhSkE=; b=LPD8Q5nsNbU7XYe1d2iDZmvJmYftZW5T56DGWUUI9CpcLBUG8cSQcA9nyQQp1ODaSS dNgVbSxfsIUyibHduUJzunj7WQFhhdiZP0UyQge94+lt7mIawh9Tiz5riJXEFta3mURh /XTnqcsQcUPQH2i0RMemMhFUJ3ljjwGOWh2DpOjVM8LMDck2X9vONoXOkX+NFbj3cgq+ CsLi2ima3bTw2kUweUIOUL/A5Xl2XhISfNKEAkXwxJebYtnrQhe88nURlgfjBJVDp8Cj g8Lt5TLa1rgwJby1YdA9hNvQ5PAj3T5rsHQMTS6L6on+CVxYrqs1xA1qGbBx1pLFZJ6e i+Tw== X-Forwarded-Encrypted: i=1; AJvYcCUiDgl10Sn1Ci8yKrYraLygRTzuiOrt9OChikYdAw4OsqkIBqWwr+83GhSVWsEP3TAY+PGwYLXO0iG85VM=@vger.kernel.org X-Gm-Message-State: AOJu0YzyY7hiCi8wFDqujj4icNMSOi/K7uBWEifN9YwnnouB313+qYr1 KNCysCJrOygI7SjlLUGtvhBV4//e1I8RR9tDwWvuRBngXCLC9Xjw X-Google-Smtp-Source: AGHT+IEHrSDMz7tYdxN1Iza4za+Uytw1qRAXfbBtrvAAvLOL4j0QreBQayXJCDC65FiLwoulRYmCcw== X-Received: by 2002:a17:907:6d10:b0:a90:df6f:f086 with SMTP id a640c23a62f3a-a93c48f1d1emr441727266b.11.1727473101612; Fri, 27 Sep 2024 14:38:21 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-6e73-3ff7-9936-9d4d.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:6e73:3ff7:9936:9d4d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2978a04sm179174366b.144.2024.09.27.14.38.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 14:38:21 -0700 (PDT) From: Javier Carrasco Date: Fri, 27 Sep 2024 23:37:43 +0200 Subject: [PATCH 4/6] leds: lp50xx: Remove unused local leds.h Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240927-leds_unused_leds_h-v1-4-46fbf41ed4ae@gmail.com> References: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> In-Reply-To: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> To: Pavel Machek , Lee Jones , =?utf-8?q?Marek?= =?utf-8?q?_Beh=C3=BAn?= Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727473094; l=609; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=YOeQsa6SrzSY24cx2WpfGMj5ASvNWNSAqhkRs6HTHPk=; b=83iVmD2s7V7dBx/Uxq5MzXy+A5NExVpf0fFrXvwgFFSb6MPo5zN9y2YA9oEoWuZ319WZiwLLf zlc8liedRlJDLANYot9hztk0Md+1qwf3bUNz2OdnY8AzjYBpz868Hlv X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver does not require any element from the local leds.h. Drop unused header. Signed-off-by: Javier Carrasco --- drivers/leds/leds-lp50xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/leds/leds-lp50xx.c b/drivers/leds/leds-lp50xx.c index 175d4b06659b..a4e45078a567 100644 --- a/drivers/leds/leds-lp50xx.c +++ b/drivers/leds/leds-lp50xx.c @@ -16,8 +16,6 @@ #include -#include "leds.h" - #define LP50XX_DEV_CFG0 0x00 #define LP50XX_DEV_CFG1 0x01 #define LP50XX_LED_CFG0 0x02 From patchwork Fri Sep 27 21:37:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 831697 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 4B6BA1B0111; Fri, 27 Sep 2024 21:38:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473106; cv=none; b=uhpkdGQhdAg+tQiCc2rKsaZRgPduMPyHdhd6eZ14SboeeKeNAwhNwjiopTFb2p1OpC8g81AzSoD/KDGVrk+VvOU7TD0zYIWQaT8nmYlF6Xluq5gmom8ZufKKgW07viAkT+ZRW3zqugAVpvZCLvYmmInLMFcPstR9jK1uJOfs/gU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473106; c=relaxed/simple; bh=LP0T9ijhkfsTFjsYgPVVYwLZmhS4i9wAwBo/aro0Cng=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fETI0XIBmQfUCOK/r2yBHCtihYVh2ALwWz6PS0F+m0GNr49Ab3yZ1bddxBbsqJqRv2RNMF2QBoxHvId/xJAdcMPb2KdPQ4yZXL9fMHVAQV4so0PNgHyE7QittEDydBW6KgvqthgO64CatCMl66AKhU89RKk4SsnCVhoHQLMx6IQ= 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=F1uE9ifm; arc=none smtp.client-ip=209.85.208.178 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="F1uE9ifm" Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2f761461150so38699281fa.0; Fri, 27 Sep 2024 14:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727473103; x=1728077903; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=y6CbgyIPXZfp5qeH1V+hKQ72ahkA8DcOtFC4oIU4X64=; b=F1uE9ifmZhxYDhE77hQ4Sv/dv7TfEcCTlbbxyOY99/vr++JFk8qQuKLjobn2c86Xks bZ73ucdBjBwGE1F9fo1nBDfiLzZisHRdSKcFsHfMKSXVmUIVWAv18dthy/v6Wy1Gn4XK y81ADEhUpDObYSQ4c0nCGpCpUgU6GLioazrTpzcFwJNd1EfFdJ/0Kp3mwGhpTN3NdG/p nHbNrMtQj0gdEWUFi+1nOcSvVPWtk2+oUZKM66loa0rXHHnj/QO7onxwno1VHOB9OIVC +jjCvGewqtR6Y7cWhXryZAIwDEwHMBF8PL1C9wqYEyWaUhbMdMCphy18Ay3vhFOhS5hp Vy2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727473103; x=1728077903; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y6CbgyIPXZfp5qeH1V+hKQ72ahkA8DcOtFC4oIU4X64=; b=n6prN0682DBgEmUlkUxgfcGii2LWV7Gj+0wKur3uJGTZhVlJ+jvdfV8ViI+rQH8IHJ TLZUAFViLi0VGKB2cc3SRDeLD/dnXY1u1c8NfSRNlmwEYxTbwr6KsCxjRxXPd4T2prlp iJNLdgUMVXbW3YcxqV9oviijvC3uOLz6OwoV7BnR9vdEFSzuNXf6DzIvgvKRAsD9EiuP Nyo0t21MIkYo+6W9H4nXqiiQUuMQ+3L+ETkpkKpQ64hUD5cKAlB/k7nF2sJTLpDOZCc6 wlj862n3wkKSQEm5aaHtun4X0d4H0iYDAzDzsmiriyjWTaAiOpgaKV4HDNVC+aDOE42d fxBA== X-Forwarded-Encrypted: i=1; AJvYcCV1H8W7QwX0azHnBjMvFDeMPgkEKB4ACwxIR3clHlrIp1EQM8/5fVSnWWbZDhJeQofW+VqclbXK41bN9mQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yyqnnt4fdzyHgG9CtYa/xFd0WAj8DOJTsftl01DMI8asZRPnZpJ vUy0jeGwbYMUUL0hbkRKXbWq/Ip1jgnkJjj8FhyUu91e82h6BEbkj/csMbRQ X-Google-Smtp-Source: AGHT+IGd5FrdFaI0DW0cbUKCWEseXq5X4OahRdYbj7LLmQ8wpaSfmCQPc19+dhAbWbCVrtW+TCxNPQ== X-Received: by 2002:a05:651c:220a:b0:2f7:5337:52ce with SMTP id 38308e7fff4ca-2f9d3e485damr43550141fa.11.1727473103223; Fri, 27 Sep 2024 14:38:23 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-6e73-3ff7-9936-9d4d.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:6e73:3ff7:9936:9d4d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2978a04sm179174366b.144.2024.09.27.14.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 14:38:22 -0700 (PDT) From: Javier Carrasco Date: Fri, 27 Sep 2024 23:37:44 +0200 Subject: [PATCH 5/6] leds: pwm: Remove unused local leds.h Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240927-leds_unused_leds_h-v1-5-46fbf41ed4ae@gmail.com> References: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> In-Reply-To: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> To: Pavel Machek , Lee Jones , =?utf-8?q?Marek?= =?utf-8?q?_Beh=C3=BAn?= Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727473094; l=722; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=LP0T9ijhkfsTFjsYgPVVYwLZmhS4i9wAwBo/aro0Cng=; b=YHPP0KTcW7KBJfpaipimlNULmgD7W9x0vmLyxznvddaqeCJWNudFGic0TJTSrmFabKjhnv0+O 6oEm2TSqmqpC3AWGfCXiULmQZ25/csnnJMK+zorZTnMzfENU8c5H0um X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= Commit 156a5bb89ca6 ("leds: Move led_init_default_state_get() to the global header") moved the only element leds-gpio required from the local leds.h to its global counterpart. Drop the inclusion of the local leds.h as it is no longer used. Signed-off-by: Javier Carrasco --- drivers/leds/leds-pwm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c index e1b414b40353..be4d2febf376 100644 --- a/drivers/leds/leds-pwm.c +++ b/drivers/leds/leds-pwm.c @@ -17,7 +17,6 @@ #include #include #include -#include "leds.h" struct led_pwm { const char *name; From patchwork Fri Sep 27 21:37:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 831112 Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 7631E1B07A7; Fri, 27 Sep 2024 21:38:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473108; cv=none; b=gpLNmodxLW7jxugrCCToRJvprcsk+M55gjd3OWl5rowJDtWX+7iVsVwwsOMnBXX9pJmldk9ImI+jnOllNqL59QBy+cNtnclmEKoikHHr/2UzCMRcZhpdFqNe5klpD1lfGqwreTcAysSLQpiwJDl0iED20zAZFf51Je/WVvDHo6o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727473108; c=relaxed/simple; bh=QufH1xxg/E8IioG2o4riVxLCSynj093uASTK1ajoGdI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=APwv7GDL6P7P1SvQZQN6k7A72Lumfj4oR4pbGH/JL/9dNRxsitr25EwKgWHL+kJwGy81X3pgqFCbDe11g2X3U89GoLfbhhjE95rVusZPd5wAwUycuOanfc3HbHjjGTdoCMnOGPdDtGvTBh2vkkPTtz6lVnnoeiQXxir1v0glITU= 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=kFJvlGT8; arc=none smtp.client-ip=209.85.218.54 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kFJvlGT8" Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a8d6ac24a3bso472362266b.1; Fri, 27 Sep 2024 14:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727473105; x=1728077905; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=JWnwm8RblNa7aLdkeV2+jPl5Nar5YevPhQoaza9x0d4=; b=kFJvlGT8Ujbj23mYaGtzaxQYyiIBSN9nivc1uxRlUpbjHulAJYpvWbN7Rl5yqN4Yp4 ZUXu81bSehdIQL+Uf/rxrsIPiZLwks4t1oHWrD7ljlyhRPolsIREEcrZI6vXT3EGnxTi FpI2XVkEVtDsiGQjOdsSJjzs7Wey6DLJzwu6RcTIZTnLqh87yXBZOZsg/hB+5vyfN01e AVN8J6pZfEhHwEbxQ3dCSwMsDVaGMkR0ngwqnWP/DKyv05wD+5QNiDemkDd8SMq4BMni i5sNoKsqTRZRr8sIbK3t47orozdYrXBwYeNEAjzKak2oJYZX7qKz/cDTN/yVyM2vs1vP nxGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727473105; x=1728077905; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JWnwm8RblNa7aLdkeV2+jPl5Nar5YevPhQoaza9x0d4=; b=usX6+yeCWX21WHhwgFSBrlRxoiFJUbpjJW8IgsnB3SDeFZNP5EWIJamMK29L5JZ+Wl MSsVUnT1/c6a+Ah/KMXbTOZKZ9xnxZtyXYg2OshRA5q7eHJzCP9C2Q2futXRiNRj6hvZ 4QjCAdw+na3+dIv9va/NCifgqDO94I80vfQOMjeCz9fjEfnV3NjacvW349sAMuxrXYIt o5w3BPeqwyMB8DAdZOY5KWGB8JMLS/sdFsmd1JnOrddxcO4rakxQI+x45rK2q0Szh+Tv 9uke4J4Bt6j/0CNzTfMfhgg7PDSvRJWyBwM3jpqV+sMe9QFn3KG8B2ZIVnKciiqetoI5 Ny3Q== X-Forwarded-Encrypted: i=1; AJvYcCX5Cn/m1g+cOa9dtE0QxL+ecHsBen+gY+PeUomyyl11eWgVcLOLe/3vbYyXM6ATlErDKPIXyGOm0c/wJyc=@vger.kernel.org X-Gm-Message-State: AOJu0YzGwPiiwmMBDVz2jsfDHpF+nhwVOrOQX+52Q8zk/kmQjLse/FY1 PO9yJdSaan+9vWXP6Uyvz8rvOFI+onDEdLiAGmALv59AV1OWZGd/XQc49sQ8 X-Google-Smtp-Source: AGHT+IHdfDM6R7tkZ+oiDrTeifvU/oMnXiRgg17qNPeWfNC8fTVDrKvpa5JNRStnh0rePDUeOl/drA== X-Received: by 2002:a17:907:3e86:b0:a8d:2281:94d9 with SMTP id a640c23a62f3a-a93b165e095mr905562266b.23.1727473104547; Fri, 27 Sep 2024 14:38:24 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-6e73-3ff7-9936-9d4d.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:6e73:3ff7:9936:9d4d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2978a04sm179174366b.144.2024.09.27.14.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 14:38:24 -0700 (PDT) From: Javier Carrasco Date: Fri, 27 Sep 2024 23:37:45 +0200 Subject: [PATCH 6/6] leds: turris-omnia: Remove unused local leds.h Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240927-leds_unused_leds_h-v1-6-46fbf41ed4ae@gmail.com> References: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> In-Reply-To: <20240927-leds_unused_leds_h-v1-0-46fbf41ed4ae@gmail.com> To: Pavel Machek , Lee Jones , =?utf-8?q?Marek?= =?utf-8?q?_Beh=C3=BAn?= Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727473094; l=637; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=QufH1xxg/E8IioG2o4riVxLCSynj093uASTK1ajoGdI=; b=HdMSEXk3ThbdIHd4WAtT6cxocBp7FdSt0AqaIA75ozBtxJpMJkSaC5SNcDF49VkVdENxFo9ix PkKgBwxoT9mCiFG4uoOCxZb2rfnseS9KXAUTMIEAX/dt/vrMmmXeagd X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver does not require any element from the local leds.h. Drop unused header. Signed-off-by: Javier Carrasco --- drivers/leds/leds-turris-omnia.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/leds/leds-turris-omnia.c b/drivers/leds/leds-turris-omnia.c index 4cff8c4b020c..2de825ac08b3 100644 --- a/drivers/leds/leds-turris-omnia.c +++ b/drivers/leds/leds-turris-omnia.c @@ -10,7 +10,6 @@ #include #include #include -#include "leds.h" #define OMNIA_BOARD_LEDS 12 #define OMNIA_LED_NUM_CHANNELS 3