Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp886936ybp; Fri, 4 Oct 2019 06:33:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFxZQiro1GELAXTeMhbkABArBIt1BKq+SJo+ON1WUhh/ZDhuS7L2hQomTf1k5Y2HWuN0gk X-Received: by 2002:a17:906:18a1:: with SMTP id c1mr12469214ejf.4.1570196038870; Fri, 04 Oct 2019 06:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570196038; cv=none; d=google.com; s=arc-20160816; b=e+9gx7I1p6kcVpSIGymD7UOX3+FNNCTOEhovHhYuUW9ufzRYmozdYaoCHxNBglAUoK 4j37/4x/9JXUv0sIUR7TEwzGEUZ80bQ8G/eGmBD8BbU6Ge/7FUlWDOXdepLy3veIxNVE 1Kdgc4R3QTFSO/EK1maLdHOcZQwPuaxRMsDlSFTKkBPRXOZlfkadto472zdn/qR2Z0H3 bXPuynJYBSRYn+6Jf+oGsDGcYHmI3czfsrZYJDdRcex1CKkxQW4C28KvQaQt6NXi0m4j c9knBhd36EaCLlVBzoN1gs0IOVKJCfJJe8ytMN/SCvlWs43kKRkjDyC8kGYmVFOhfBCT Tfqg== 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=35c6WKfWiVzHcoZfDnuVi6Z0edUxk0lXRUfNHbINisM=; b=fBvKbkTd6LwZuB5GGh/BVfkvbqaE/D6Hj9W5sasUqHNBzIyggvqngSy8J4qaJebbSM o982fl8bRRNK8SvMQYdQEkyTVZc3yku1UNOBekxzC5dqDsJnvfdPYQFZe328daJUm6WC B936XXPaRG+y32dIlk0RrxHye3NsvPME0jKKVLjExhl5sJy8XAM8/Hw5VsMnUQ+ybdG8 /3Ci+k+mztYj5/99fiv/+HwpxftFSbcjtfpCSS6ncCsBAEQdammXRyGZwgegJFhIZ1O3 Tb+KTUC5ibjJpt1ATwM3oAYCJQ8rwgQV0ouOVRte2LYmMjqtFzSj4WHfjcbqdzi8Tm3Z g9GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=GsEaQ4PA; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id br24si3064301ejb.101.2019.10.04.06.33.34; Fri, 04 Oct 2019 06:33:58 -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=@rasmusvillemoes.dk header.s=google header.b=GsEaQ4PA; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388714AbfJDNdL (ORCPT + 99 others); Fri, 4 Oct 2019 09:33:11 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:36044 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388673AbfJDNdJ (ORCPT ); Fri, 4 Oct 2019 09:33:09 -0400 Received: by mail-lj1-f196.google.com with SMTP id v24so6545599ljj.3 for ; Fri, 04 Oct 2019 06:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=35c6WKfWiVzHcoZfDnuVi6Z0edUxk0lXRUfNHbINisM=; b=GsEaQ4PAaCg++2pIX8jFuqPCmCG8bW4FnbepiCXMbGjjqMgVq+BZTo5sWrviIz1nm1 HaZ0oOMcm5OU0oH0Si//o9G1g6UNYV/pOzZ85f+Rzk438Yvx3R2adqlKoUe0QxGD0W2m habr3gaCWgS2zCIavFKTIkmpOJqVSPVeh/h6M= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=35c6WKfWiVzHcoZfDnuVi6Z0edUxk0lXRUfNHbINisM=; b=CrfP8KZMHaoPpkA0EwET1AGsuQZq8wktGzSO7TKfsbuVEZBFGVeF2nuDIazUO7Bd4n N742XXT3epB1SHcwGY1cV/pIyVcMo9iwjhpTAn7UjoWQRQqMYRFLrForqGYqjeNF4p+K hdULSxc0tkbIdH3JbIUXd3Z6yjfPPGSn71QruFUacHWm1Wj0fKhE1WVteTvQGbYXyJjX 4KTA/xoVj2xWJuuw8UNdz2XbxY9DFOINcITnHO4Rd3wlHpjXQOootLckBWEcE/Rn7cB/ vHcyQJfjYSblR+Gw6ay7knvZ86wQoXhnaiKpzyMysR45ACZDfinmQdnZbyCfUC9kqjkq Ioqw== X-Gm-Message-State: APjAAAV8G1BvPNS8grk/PCTAhdkjqaeJ33NzDw0B90/fmKfNFNPHK8Xf l8hROVT9voWmE+ai4fWxWGy0mw== X-Received: by 2002:a2e:9094:: with SMTP id l20mr9895013ljg.35.1570195987641; Fri, 04 Oct 2019 06:33:07 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id y26sm1534991ljj.90.2019.10.04.06.33.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2019 06:33:07 -0700 (PDT) From: Rasmus Villemoes To: Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Cc: devicetree@vger.kernel.org, Rob Herring , Rasmus Villemoes , linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] pwm: update comment on struct pwm_ops::apply Date: Fri, 4 Oct 2019 15:32:07 +0200 Message-Id: <20191004133207.6663-7-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191004133207.6663-1-linux@rasmusvillemoes.dk> References: <20191004133207.6663-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 71523d1812ac (pwm: Ensure pwm_apply_state() doesn't modify the state argument) updated the kernel-doc for pwm_apply_state(), but not for the ->apply callback in the pwm_ops struct. Signed-off-by: Rasmus Villemoes --- include/linux/pwm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/linux/pwm.h b/include/linux/pwm.h index b2c9c460947d..0ef808d925bb 100644 --- a/include/linux/pwm.h +++ b/include/linux/pwm.h @@ -243,10 +243,7 @@ pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, * @request: optional hook for requesting a PWM * @free: optional hook for freeing a PWM * @capture: capture and report PWM signal - * @apply: atomically apply a new PWM config. The state argument - * should be adjusted with the real hardware config (if the - * approximate the period or duty_cycle value, state should - * reflect it) + * @apply: atomically apply a new PWM config * @get_state: get the current PWM state. This function is only * called once per PWM device when the PWM chip is * registered. -- 2.20.1