Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp708318ybj; Thu, 7 May 2020 05:57:28 -0700 (PDT) X-Google-Smtp-Source: APiQypKzf1e7yp1fYJhkXvvmic1UZ7SVXeeRN6G9FkeeFPlCmtaG92GcZ8juOF0iIXewV/oYZYAC X-Received: by 2002:a17:906:4bc9:: with SMTP id x9mr11606065ejv.27.1588856248010; Thu, 07 May 2020 05:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588856248; cv=none; d=google.com; s=arc-20160816; b=MvCojH3gGtYFo8/ja0DUayhFUdwMIZTX5KgZuMwHlSxa3Bg3BFXKjbN1vB4I6zzyrD pLn20T5mmS+BMGmMi4ASjMyy2ZZdlp/YEkfNBqujToMa6qqXRxzsFpAiDjS/tjrnBcb4 V4jj6MDF05X+I8DVLpT9wDE1c3NzIB4RBwZV+yb0+Jxjad5nbEn4craSabg9BdyCW6ao RDL6tcO8UN3wGHLdI5Yr17YYaCtQK0s6MpAjvtxSvkq/OuEuJkf2UeWxS7E+TUqIonTY QK5E4qPT+Cw2ozFMc1Cx9OrINhL9PmOCSoHO0WiU+Xi5R+WpB3ZveSuQkyyhzYBxnW/x ZvJg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=zft9HmfE/cb19n4/HL8+WvtZ/FjZoMDNx3WAUznuwF4=; b=I9kDIuTnCj2BV8c9GeQcTacFv5otuJNlnIL03VWmGfa04qd44PDga/2unmyGopeQUv bHBY+aATf1izXGk8eVPgRBF38MZ04uftdB80jZcC27wYvPgcM9SzDLAddU2xQhQe1go5 AZ0akGccEec8DMPd/nPv4Ernjm/UIHlau6eEOyIRCEpm+OpksveB+rYuh5g5fkKUJNxc 7ypp5CuNNNf+lNK4RFqi3RmX2GenzJvXzLvjIeCo2fTCuld/qjJ4cX8/Cktb9B0KYVcv OukXLSEnUQhbdtBz1Lf2YYgYxXzVkbwUuPvD1UwF9uughnKhi2jOBn9oSSheWBxmeFfZ jtCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GC2cNFbW; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si2959069edr.270.2020.05.07.05.57.02; Thu, 07 May 2020 05:57:27 -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=@gmail.com header.s=20161025 header.b=GC2cNFbW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727051AbgEGMyU (ORCPT + 99 others); Thu, 7 May 2020 08:54:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725947AbgEGMyU (ORCPT ); Thu, 7 May 2020 08:54:20 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29738C05BD43; Thu, 7 May 2020 05:54:20 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id js4so551290pjb.5; Thu, 07 May 2020 05:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=zft9HmfE/cb19n4/HL8+WvtZ/FjZoMDNx3WAUznuwF4=; b=GC2cNFbWuQrdvino/O5PK8jtbZyu070ia6LRYJpmpxBckEfO0f0wJosaeUAA7Ccfqy 4ke5vEAA+FEzIBSbR312EMTF+L5WRKpKEtG54Wup1vlsglpVCvO/5fteqEyBOKs50FRM tRWfR0akv29PY66OLqXdrcw/0fNQoPi2FW4B7H46lwE2H/Vcrs99upppoQP4ZDRRtN86 WWgFsFxw/ScSDgH5KMusKRrgjrXxzuTllf4KTl0+W/ZtMBDnfzBs2v9Am07daVxlmD8P yMFPVJt67uxVyg1K3B8VH4m8CbEEMJ9yN1Hn627UFXrwdfeA63YNJNq1L5Lff1wK3xLj mrUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=zft9HmfE/cb19n4/HL8+WvtZ/FjZoMDNx3WAUznuwF4=; b=s0LEJCYKulmHO/k62cUwN0p3NQVQtBaRjz9i9nySL8b+La9vdpUuuRfr/VAuKnvT00 zWr4cFl5AQlc0U5zCCxG/I+MLJ2Dafdu505RZMvngcdlaeqgVos/dVgqt0LHw0j9K5Nn T0Bq27+6tQ/iK/d//OqGXEQMVm2goYxsXCsyoKOoYVU0mHOWw9HtFLlZpr6w+njUcfXY kBYOm7etGVVE4jGWlD4gNaqphng7NtGR796Bek1BszEacaXow4Fp/RWh9cQj5K05yfXL 9OINJGCFdbnABlZ7OVn7CJYY/BulfVbadj7GdGilXZ0O9AXJ3klUddOT/i+BmLnLID95 9Rew== X-Gm-Message-State: AGi0PuaYTGNGadTxjz5sI/NN7nzPceKcFoNKeZa+oqdt5h1UI0+fQchw Q9iHH30Y1vElFHBEaemJErDmZaZYekMFGNkaClQ= X-Received: by 2002:a17:90a:37a3:: with SMTP id v32mr15294905pjb.2.1588856059648; Thu, 07 May 2020 05:54:19 -0700 (PDT) MIME-Version: 1.0 References: <20200507094242.7523-1-koba.ko@canonical.com> <20200507111331.dzge7htw5toejh72@pali> <20200507114517.tslux7m7aysuwaok@pali> In-Reply-To: <20200507114517.tslux7m7aysuwaok@pali> From: Andy Shevchenko Date: Thu, 7 May 2020 15:54:06 +0300 Message-ID: Subject: Re: [PATCH] platform/x86: dell-laptop: don't register platform::micmute if the related tokens don't exist. To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Koba Ko , Matthew Garrett , Darren Hart , Andy Shevchenko , Platform Driver , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 7, 2020 at 2:45 PM Pali Roh=C3=A1r 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?i= d=3D1dbb9fb4082ce2a2f1cf9596881ddece062d15d0 --=20 With Best Regards, Andy Shevchenko