From patchwork Wed Oct 2 12:40:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 174991 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp704740ill; Wed, 2 Oct 2019 05:40:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKt77HO+akmHy7L8d5xWLBUlrVtn0VIlNYgMOyI6JS+bg63oT7ACXaORDu2FY87n+VJJXA X-Received: by 2002:a17:906:af57:: with SMTP id ly23mr2780976ejb.269.1570020013538; Wed, 02 Oct 2019 05:40:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570020013; cv=none; d=google.com; s=arc-20160816; b=zhJ2JaJzPYPjS5DrIXaIsQ4tmsH5fz2QMkN4PdhN/yA7vTmrjC4+JvSFGo7K4iKRWb Ep3Srm3vwmuwJBT2rUbKs9SXFkfxEDbkGU97ivtaq9rSceGBr/ZmP6aCxW//0JOV9sHe 4zNgrxkIitXIhTgewi7zoqKkbwQBlpLhHhzkXeCHztBLj7T1T9TyteTx4tfOn1MTtCHz X8ADWE63JHJRm5n5ricEvP42gqL6daPj4yVD2um2+EWKaN0ePi6ICd8LN1f5Eue0lzVe CloBPyy98G9lV+aqAeJhIoFyAiLel58H1DA8kCMwN1n99U397wqu3AW1i2UYK9QHrnKx R1dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SeaeW4nYhSYJliZDSdI8+/VmnyNhDewoNXbFcQ4DWWg=; b=OF4yOAklJxP9BaS2uZwSd6KI2L+XWLq4o9tLwHje+E188trjXhR7OIRWMSVAmNawK9 alY/3UAwmCp1SLCFosdHx7cKEM+zc0lLVpilVBE7/iqO9/cpi2P8gfpNamTq9R1ZIt9y 0yECDGJw0v+gTUFgYSiE0kddi9F2FkWTXjsZbey74CqmhyjkEp5nfiLP8S4ZrLdv8vW2 PyM/Z4liv0SQA7F+hTwadSXvy6ubafohZtQcROYwUrrFMa1aFmFDXEBlIyNZaF7+s217 Ep9p6y89lnBNdtGcil0sqz7K+zdcQ7hxuC99dLJbekQVp8lU/hjEfcSwyh4cr4ZSg/s9 Toww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jlj5dVfp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r5si10437748edo.14.2019.10.02.05.40.13; Wed, 02 Oct 2019 05:40:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jlj5dVfp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727469AbfJBMkM (ORCPT + 27 others); Wed, 2 Oct 2019 08:40:12 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:59772 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbfJBMkI (ORCPT ); Wed, 2 Oct 2019 08:40:08 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x92Ce5xC099755; Wed, 2 Oct 2019 07:40:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1570020005; bh=SeaeW4nYhSYJliZDSdI8+/VmnyNhDewoNXbFcQ4DWWg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jlj5dVfplmkRzmPrK1z2fmDyrQA86BGCgH37kjCp5TpvQ3hOz5J3DhpU7/Gn3nZ7S bcBy7JGZwXStBCUuqAlQZGltreUS4EwZ776sLkafkZ9CP+cuHU4bggx108ct99jmrZ Vdu7anQnNyB+ErJ6W1NbfKhP0mek/ZUeBeuzOj6w= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x92Ce59N025037 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Oct 2019 07:40:05 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 2 Oct 2019 07:39:54 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 2 Oct 2019 07:39:54 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x92Ce45Y055877; Wed, 2 Oct 2019 07:40:04 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v2 6/6] leds: core: Fix leds.h structure documentation Date: Wed, 2 Oct 2019 07:40:42 -0500 Message-ID: <20191002124042.25593-6-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191002124042.25593-1-dmurphy@ti.com> References: <20191002124042.25593-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update the leds.h structure documentation to define the correct arguments. Signed-off-by: Dan Murphy --- include/linux/leds.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.22.0.214.g8dca754b1e diff --git a/include/linux/leds.h b/include/linux/leds.h index 52e50183b963..242258f7d837 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h @@ -245,7 +245,7 @@ void led_set_brightness(struct led_classdev *led_cdev, /** * led_set_brightness_sync - set LED brightness synchronously * @led_cdev: the LED to set - * @brightness: the brightness to set it to + * @value: the brightness to set it to * * Set an LED's brightness immediately. This function will block * the caller for the time required for accessing device registers, @@ -298,8 +298,7 @@ void led_sysfs_enable(struct led_classdev *led_cdev); /** * led_compose_name - compose LED class device name * @dev: LED controller device object - * @child: child fwnode_handle describing a LED or a group of synchronized LEDs; - * it must be provided only for fwnode based LEDs + * @init_data: the LED class device initialization data * @led_classdev_name: composed LED class device name * * Create LED class device name basing on the provided init_data argument.