From patchwork Mon Jun 28 19:17:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 468495 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E230DC11F65 for ; Mon, 28 Jun 2021 19:17:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC60F6187E for ; Mon, 28 Jun 2021 19:17:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234103AbhF1TTz (ORCPT ); Mon, 28 Jun 2021 15:19:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235351AbhF1TTy (ORCPT ); Mon, 28 Jun 2021 15:19:54 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FDF9C061760 for ; Mon, 28 Jun 2021 12:17:27 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id b3so22562209wrm.6 for ; Mon, 28 Jun 2021 12:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aVDOoSwsEqFnt7m177UdWRoEvgZeeb+7aORURgAHeO0=; b=aW5A7/HTlwu7afrmKWijmi6EQCPWv348Ei9iI8BRY/qjcMnnQqatxEHlM7+j6wT1r8 gyK9hmlrKx96syJ/pcbmMXkcKdqcEZl1U5fhhtnJRMdkzrFp01RY7jCkDa6dafWm9J5g HStGHtgS9MMX9sotxLbVJmz5ytR4g+4JiAgwoH2x+knmjua8ppLjFGQMhgPqqPGT/r88 NqSOpzA9wCLD4kmslWQePAL9JvXkeq+NcJNor/L/O4c10wrcYAWM9JM03Hig5XeKOyiL HSx1IReUv2bgpI7YRzoECSLmvDhhYmJJHNVAIh8ivCVUAgxgGPPspmdoKmyCwRS/0ikJ wjSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aVDOoSwsEqFnt7m177UdWRoEvgZeeb+7aORURgAHeO0=; b=iGuAm/NXZnD9lFTj8MHdVFvG7HVaTI21SswH87fPO0qOwykEPW9EFoiVNb45NSj4m3 DYrA8Xg9FA+BnPyO12qYtD1WKwfkXFM+3Fb9tKvQRJ/EtkSFcnNjhum3bK6u0vhvLvbl 3yMV132SqIsvZsFvtZu/gMdjnBpENB4hAVAdWIQooSqGE6vOsM+gnFsO2Ibrx/Ef82Fm lVMTsRSQXL8q3JXu/7CDvKuSCGWc0Y+7Kuxov3U5H8Q5RAUKZY21CUwUUTLR+z1vOcjv 0YkXrfuRhIy8EyB5v3A8HN1TRXBbO/d6sLNyygTTMiCS2mTgq1VtYY0jcriWIW/N3k1/ IxKw== X-Gm-Message-State: AOAM532Notsq6Zcp6VPX75Y+Uba5JLbx65WxPaAUtF/6bsfDQlUCzuaT JKA2zC1cYB8vY0iQ6FQu/KN1zY+gdrZm8Q== X-Google-Smtp-Source: ABdhPJzLJyg3lju7n1j6bePPTjj3oCBn/d+c5mXFM96aBCrOhY+nDEm7WOhSUszNmuojhhlSGCeyKg== X-Received: by 2002:a5d:5004:: with SMTP id e4mr4565045wrt.205.1624907845800; Mon, 28 Jun 2021 12:17:25 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id i5sm4352391wrr.4.2021.06.28.12.17.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 12:17:25 -0700 (PDT) From: Corentin Labbe To: pavel@ucw.cz, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Corentin Labbe Subject: [PATCH] leds: remove ide-disk trigger Date: Mon, 28 Jun 2021 19:17:19 +0000 Message-Id: <20210628191719.2823947-1-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org No user of ide-disk remains, so remove this deprecated trigger. Signed-off-by: Corentin Labbe --- Documentation/devicetree/bindings/leds/common.yaml | 3 --- drivers/leds/trigger/ledtrig-disk.c | 1 - 2 files changed, 4 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index a9b8c21779e3..2d3d4af1d35e 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -91,9 +91,6 @@ properties: - disk-activity - disk-read - disk-write - # LED indicates IDE disk activity (deprecated), in new implementations - # use "disk-activity" - - ide-disk # LED flashes at a fixed, configurable rate - timer # LED alters the brightness for the specified duration with one software diff --git a/drivers/leds/trigger/ledtrig-disk.c b/drivers/leds/trigger/ledtrig-disk.c index 0741910785bb..38a5c21c0466 100644 --- a/drivers/leds/trigger/ledtrig-disk.c +++ b/drivers/leds/trigger/ledtrig-disk.c @@ -40,7 +40,6 @@ static int __init ledtrig_disk_init(void) led_trigger_register_simple("disk-activity", &ledtrig_disk); led_trigger_register_simple("disk-read", &ledtrig_disk_read); led_trigger_register_simple("disk-write", &ledtrig_disk_write); - led_trigger_register_simple("ide-disk", &ledtrig_ide); return 0; }