Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1275725pxk; Fri, 2 Oct 2020 05:47:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbEvbhfR294qv7ekUDN8mn0Rz4Q777N1s8BnloV7rcMtQS/yktmVmTmXkPKvKv2bEpsT4z X-Received: by 2002:a17:906:3e4e:: with SMTP id t14mr2010720eji.269.1601642819942; Fri, 02 Oct 2020 05:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601642819; cv=none; d=google.com; s=arc-20160816; b=gtsRE/2kWxhfg7oZrAXzQUHlkBaPgnPevineuYqzAuW8Hk15BJvKZVv2LXgs6gGxaH fnIvA9LE5tAnuEziFsxHtEFQD8S2W60CUe9VwNg+pxKo0ZquNnOnPBvEZAR4I6HS+CgN OTErU2DQYOpxU9Ew61JM9PETgS1TwEnncdbqfQ99c5kmLbu1G81Di2e7TqyIoybw3dtU xdmE+/dbcrJeqS119FqvXKNriMatoJmnL8qpl9+suWau0reOYGqxRQGCWSo0ScffGrAw rPN8AzXOHDR/dejT1grJyvsubbIdT/JqCmHnaW8+5H8A/3EMEd6WNqBhBAXVP9W5VtjC ZuRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VCXMSzVvRBIcKAVTjLHkUijMyIQpBRAFicst6Oei2Mk=; b=OVJf3yPSqGmvNVfMCYYjj9vloVQOrmVuSir3xXUBMS77f2G2NeXscnFsDVxkVFQFjx nvxy8hPoEQVjZbAjE63SqzSeZ9QRM/LzVy8669LpZZnKFtzAjCv3wCRoctwjostkQr8E gfLH4H2l/qLPs8GKP6ENhJ4G9zqdxMLkolAV/7rwsZJq6oaRHF/LBuoSHiENOCG+bhP6 7XxASHmWVlVMqefetNwoLUsOQbwa8cNW+TuhAFNOKaFohi79Nz4yHXbirbyHpULmr4NV SrRaI10cowOfpywKnNV0EuY9Nbu5z7ASEnHIOxHJCEkzN2Mj5aYdykPY7s8v5lZbDL/j aV3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Kd9faxk4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 20si889879edx.435.2020.10.02.05.46.37; Fri, 02 Oct 2020 05:46:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Kd9faxk4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387837AbgJBMoL (ORCPT + 99 others); Fri, 2 Oct 2020 08:44:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:52180 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725964AbgJBMoL (ORCPT ); Fri, 2 Oct 2020 08:44:11 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1803920672; Fri, 2 Oct 2020 12:44:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601642649; bh=c+DRCXODZXiAWU+WmseGXdjZpDoVuIsImezop5VomhE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kd9faxk4NO38dpz/1ZxWf8sYt68XNWhNZ5PeDY7RBVfWLoOY4iNGwjHanbjpsCuV4 FoTh+UHRbHk/6W8Ky1SBbQAFvr/Dfpu+MGR2n3gk7GsfRZylqSmdgmAj7Kj7z9mgRD wPV+V7C4ys+fPMCXWdtoGyj8E/bb4gREv/2KQO9I= Date: Fri, 2 Oct 2020 14:44:07 +0200 From: Greg Kroah-Hartman To: poeschel@lemonage.de Cc: Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Lee Jones , "open list:PWM SUBSYSTEM" , open list Subject: Re: [PATCH 1/2] pwm: sysfs: Set class on pwm devices Message-ID: <20201002124407.GA3348424@kroah.com> References: <20201002123048.3073128-1-poeschel@lemonage.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201002123048.3073128-1-poeschel@lemonage.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 02, 2020 at 02:30:47PM +0200, poeschel@lemonage.de wrote: > + pwm_prop[0] = kasprintf(GFP_KERNEL, "EXPORT=%s", > + export->child.kobj.name); Nit, you should use dev_name() here instead of trying to get the raw kobject name. thanks, greg k-h