Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp249501pxk; Sun, 30 Aug 2020 01:46:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtxx7vc/ni9/Pbmcv+5mXYiC0Q7Zy4PznwNhPVdsW4GaeDyirNcd0w01p91PWjlr8Sy4lx X-Received: by 2002:a17:906:a053:: with SMTP id bg19mr7067217ejb.444.1598777207089; Sun, 30 Aug 2020 01:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598777207; cv=none; d=google.com; s=arc-20160816; b=zWJD5HP6H9BJxfbvgo/I2Ahh3JxK1/wMKqTcbi0964nFNIkxr/saT28FLK2sXq0Dnz O3suRl0w1JzfPQjd7/XIGUQJ1l+NJJTuaKYeFVJgkzmyatIQLKPekGoTuBzn4+BELMkP b3fH6ARzZ/WM2Jz4iarCCkDFl3SjTyoaF359/PPlic0qYYkJRE84PgkJchy/t/O/A13Z IuvCG9POGnZ3Nh527k9UTasZPoMdBEc6BBfgnsABGcUm3Y013GaRCO+tY0xWbd5lvrMg 4sPrTFkvjck/hvTzuL5R2SauEEB1bAzTHWcIzVa356s0cNxSnVF4bQy26ferwlht5QQe DHeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=WiNxa0n81+ZmG4cSOgItga0yRmbWV7qQvdH+kZPT5Zw=; b=t+cANVNAAAaKTjAFU6fa3OWVYEUBZvniY6bKT/06SbljVEDchjkPfkY0W3WwaHFPcf m8Wd2Z668lnzeBOwwinK8wlWThQjzGjLPskHRA6IWkH8Ia4R4Ywawd7LL56W4Jb9jIT0 S+wZ/0oq1Vvejy1ngg4RXemD1y857Dzqmh50LcyXoRga3OvpxnrcrHxX1VhE6oYg5LUv IcrEJJsz6+JbYJHB2xAAkO6x8AHFjoN7++Ct0XoY3BVqJ20OzXH3eOBcnS+o3Hy8D0UH Njf3NpupLp3GeFA3NPJaKG3M/4vv/5RMeuA64VL+nvTGVilz1643r7saeCCHUq+Jsgcu fG/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ORMYXf8J; 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 q14si3720298ejb.72.2020.08.30.01.46.23; Sun, 30 Aug 2020 01:46:47 -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=ORMYXf8J; 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 S1726493AbgH3Ipn (ORCPT + 99 others); Sun, 30 Aug 2020 04:45:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgH3Ipn (ORCPT ); Sun, 30 Aug 2020 04:45:43 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85888C061573; Sun, 30 Aug 2020 01:45:42 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id g6so1485823pjl.0; Sun, 30 Aug 2020 01:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WiNxa0n81+ZmG4cSOgItga0yRmbWV7qQvdH+kZPT5Zw=; b=ORMYXf8J8DcCr6VrE8tPHN0P87U7mjxBxwuSSPS0uSxg5ZIBGj87x3uvD5mzCkY23K RuGaZvnTJSZR0K2gOEOvZ87gte8SEXVQmnrj077dvAVDe3evxO54+TetRHOwVHVgqCal Qt3bRmkj18czte1kxYkQhjnkMaQPdFaInMorDABRT1nPum4gm2v8d1cIowTi9+f4PHCN 6PuIKQUa9PSmReHnB8OZ+tsxQvWw+Pdvq1pTJssvcnK3EndqoS1ygi2blKO0NHsHPkB+ H8C9gMo1JrUTXFSluG+9WrgsrG6BTNiJDqrLGm0Y++EvRk8bx7utZ14sETASpxvLj4a1 YKCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WiNxa0n81+ZmG4cSOgItga0yRmbWV7qQvdH+kZPT5Zw=; b=VjsrigAJNhJ83Egcsf3FOuS0IIfttJVXpgWOXHfcBazAPhi7Sl9zqisQPEIrjDk20X WNELM879qmy5DYMTvsQsUfOHOM3X0FWoU18Wj6pVxZRCbkMdnRmKahhc3f9iTkPnEXc1 fo7H9ue3+DNZz0mXDk1QrNJZrv/ObbwAupPlGZxiCdEhkHWVLc+MSW9UIzKfQna2Ku0V xaoPfxHINQGMtTikFmuZE2Gpc411EijGgG9gXiPOHZocFcxCg8tqF3DHehmDPdDY9Iop IesmU+qDXAEyWZKLVHZmbrI4FzYEiKcH4pTZv7prBElMOdCzRsgouArh8aKgImi3wMWH eQkQ== X-Gm-Message-State: AOAM532wUg051nQj90dUSJwrLMVabBD6vZGv3COBCiJtfNwsmSuphHs/ axMIKcRZoOGq83uka/4LVpo= X-Received: by 2002:a17:902:7582:: with SMTP id j2mr5042928pll.322.1598777141185; Sun, 30 Aug 2020 01:45:41 -0700 (PDT) Received: from gmail.com ([223.190.108.199]) by smtp.gmail.com with ESMTPSA id g5sm3741903pjx.53.2020.08.30.01.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Aug 2020 01:45:40 -0700 (PDT) Date: Sun, 30 Aug 2020 14:13:52 +0530 From: Vaibhav Gupta To: Sean Young Cc: Bjorn Helgaas , Bjorn Helgaas , Bjorn Helgaas , Vaibhav Gupta , Mauro Carvalho Chehab , Sergey Kozlov , Abylay Ospan , Hans Verkuil , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan Subject: Re: [PATCH v1] [media] netup_unidvb: use generic power management Message-ID: <20200830084352.GA36870@gmail.com> References: <20200728092717.937023-1-vaibhavgupta40@gmail.com> <20200830081004.GA17376@gofer.mess.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200830081004.GA17376@gofer.mess.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 30, 2020 at 09:10:04AM +0100, Sean Young wrote: > On Tue, Jul 28, 2020 at 02:57:17PM +0530, Vaibhav Gupta wrote: > > The .suspend() and .resume() callbacks are not defined for this driver. > > Still, their power management structure follows the legacy framework. To > > bring it under the generic framework, simply remove the binding of > > callbacks from "struct pci_driver". > > Unlisted fields in a static struct initializer will get set to 0 (or NULL > for pointers) already. Removing the NULL initializers will not change > anything. > > Possibly you want to remove the redundant initializers but your commit > message should say so. > > > Sean > Hello Sean, Yes, you are right. I mentioned a general commit message. I will send a v2 with suggested changes. Thank you Vaibhav Gupta