From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73774C001DD for ; Thu, 13 Jul 2023 14:55:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232132AbjGMOzh (ORCPT ); Thu, 13 Jul 2023 10:55:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbjGMOz3 (ORCPT ); Thu, 13 Jul 2023 10:55:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 728DA2706; Thu, 13 Jul 2023 07:55:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1004261849; Thu, 13 Jul 2023 14:55:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35D23C433C7; Thu, 13 Jul 2023 14:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689260127; bh=/PNa8c5uB3xZJs1ZCxwrUtLQVeBxBkNDCyB4lZC6vmc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AgAjCNirzo8hjm7DTmauBTe1zhbhCqJJv5W5tmdHzv8w33g9KzEGY4v3RaiUj15E6 mX1KCgCCYf5kLkiMNd1tNZrgmcmXavs9koy2BY6c3xL3vnFkmX3Ikq4ecIaPYXUT0X cuW3W4MJx924IwSudXmTNxqU18JSOoT1Qj8Ck5LDwQ5qJfei+LmMYhPNGwidYZAnCg lhtrESBjg3tjF+Yvkh5kt8DYJccQkTglyoUw8QrXJ+j4WZV9f+2YPtpSYBDKVtT703 8DqdNHGyslI9fL8MJp/LFAug2c9kjywUQcQjD5LJZehoIEmxEqQ74ZAB/oSbgdw5wU S5cytmyQ1C2wQ== Date: Thu, 13 Jul 2023 15:55:23 +0100 From: Lee Jones To: Dan Carpenter Cc: Andy Shevchenko , Pavel Machek , linux-leds@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] leds: pwm: Fix error code in led_pwm_create_fwnode() Message-ID: <20230713145523.GF10768@google.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: kernel-janitors@vger.kernel.org On Tue, 11 Jul 2023, Dan Carpenter wrote: > Negative -EINVAL was intended, not positive EINVAL. Fix it. > > Fixes: 95138e01275e ("leds: pwm: Make error handling more robust") > Signed-off-by: Dan Carpenter > --- > drivers/leds/leds-pwm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks -- Lee Jones [李琼斯]