Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp709506ybj; Thu, 7 May 2020 05:59:37 -0700 (PDT) X-Google-Smtp-Source: APiQypJ+QcS+znmNZrDBkK6qjclB8RoBuuCi9Oeah78hnMClPsUtqLhakfM3iQMyQY69QWA6RkEr X-Received: by 2002:a17:906:cf8a:: with SMTP id um10mr11609407ejb.60.1588856377147; Thu, 07 May 2020 05:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588856377; cv=none; d=google.com; s=arc-20160816; b=yYabEFexM8xz29sF8w2oyDyY+dbfXqWuB7qT7TyVSN2qkoT6iax2waP9TjhqWCH34i Tt1vQbTRh8ZCuKvWLx5ZKZF/Scj3KFRjqEJfnc8E/Nm/joOTduyD5Z8EZ+A576tyQyqP zv9bdj8gGYVBWoIfoSI4e5ErjR7fbPR4nrPiNQGOzy1IRbST+3QclzKHvxKaoJHtN3SF pX0p6QiCjN9X1GezbKzSfSX/XnkEh6GR1BkaNmCd6baqKrUh0npC9ElVuTxb/mJXlHMN 8xwHB3beoPMg6AzpxvhBXMddBx2H/DvJBy1NhuubgBsP20cIgh0ptAQS6AZquiQ3oh51 trrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pevYZhdU4PmLw/QlZCpGQ5FCopaFFOvpluwI8oedSaE=; b=FG2HA7LOqPKYygN7K6ojzy5xsIuJlKEfeiBdeqPr4s+kzti24bATHT63lDZfk91GkM sbd3ak9i5EUKjaylnevc9FBvJBmIc4VhPdS+0BgZKTsm9wXCJUMdvfK8jWMICU2YSAIA igRGqtJT95viWv+DL9yGBjnJmsQx5Dkt4ugzZ0jkR+yg+SmQE9/Azjk92F/O6fDWhnV4 XlS8WCscuLu/fuHxplcnHrpfYtxwst3pOpRbeiVYItZ/tOccrTAT/yARtKQNAc5ao6PT E/HTicntZlpXtGggUokcC+bho20oUgSsY1avi29JivvQ388Ece+cyjQ12VO9XaFoZL5Y vKOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fq1vz9r4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si2846595edx.196.2020.05.07.05.59.13; Thu, 07 May 2020 05:59:37 -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=fq1vz9r4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726029AbgEGM5o (ORCPT + 99 others); Thu, 7 May 2020 08:57:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:38328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbgEGM5n (ORCPT ); Thu, 7 May 2020 08:57:43 -0400 Received: from pali.im (pali.im [31.31.79.79]) (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 3DEC82082E; Thu, 7 May 2020 12:57:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588856263; bh=5a9ywGLK3FkhOempzXyjRfBlZ1PBXIKXRN7msAWN0Jw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fq1vz9r4dUhc9DyFEI7cB7DE/kaGBIvbTrH3iIiIBwzO3YcjeqimJziFRMfXOmIYb ZdCgwbNSV12pxYhlf21nsUjfQB6FIznv+DbtuteZnkJMkXaqZl+ad6uqsUvEE9IMR6 uK3yqSxBOhYmOPRnYsCoSY3t5TzWzwXF7GhjCn48= Received: by pali.im (Postfix) id E4157692; Thu, 7 May 2020 14:57:40 +0200 (CEST) Date: Thu, 7 May 2020 14:57:40 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andy Shevchenko Cc: Koba Ko , Matthew Garrett , Darren Hart , Andy Shevchenko , Platform Driver , Linux Kernel Mailing List Subject: Re: [PATCH] platform/x86: dell-laptop: don't register platform::micmute if the related tokens don't exist. Message-ID: <20200507125740.f3ttcsk4pqgb5xwj@pali> References: <20200507094242.7523-1-koba.ko@canonical.com> <20200507111331.dzge7htw5toejh72@pali> <20200507114517.tslux7m7aysuwaok@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 07 May 2020 15:54:06 Andy Shevchenko wrote: > On Thu, May 7, 2020 at 2:45 PM Pali Rohár wrote: > > On Thursday 07 May 2020 19:27:47 Koba Ko wrote: > > > > don't understand "registration and deregistration would be optional', > > > could you explain more!? > > > > After your patch led_classdev_register() function is not always called. > > And led_classdev_unregister() should not be called when there is no > > device registered. > > I think it's not a strong requirement after the commit > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=1dbb9fb4082ce2a2f1cf9596881ddece062d15d0 Thank you for update. I did know about this change.