Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2446035ybt; Sun, 28 Jun 2020 20:34:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUtnb3UnrnX3TF1xpS2WuJHA2uAlfGPlu7CzO3c2CmOM4/3IywTv0lMwPJvl3ePmZFyVk4 X-Received: by 2002:a17:906:1747:: with SMTP id d7mr4191536eje.39.1593401650401; Sun, 28 Jun 2020 20:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593401650; cv=none; d=google.com; s=arc-20160816; b=deQEa8EpVKd4fctUuWljc9jUKuWUUeKPsYc0O/RH37rEagKGdOXVHxT/zcLJkq/bxg M8IzmTE/4sIHKpYj+GNr9SsF1Pr080ygNvHoRuTVtfCf1qA/lA+OJHqn4RzLSr98wCsG n48uBHrI+pp/fRZFle2WH2qVOzmHAnwfWIA94ZegsHbnLNCZiAhMG2dtu6WZnV/6Odfz E8TlvmUcdetaN85zMeokQAPriPu1qAviFxEF6Co16zsxbKnvXeFISLkNn//xSeMu3DTj J9iYcyn02TDBOUy2NNxF4X0ph27u4SFj2Eru9SbP4JGLB+X/QcQUZ9Q2kiuwa93AoZL5 ACnw== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=fYJKmE7yRo1ixIz8HpJIKtPVneklCF0ayYZCHIK8EeE=; b=uBtYiXWawF6lnV19R4uwNTo5FAg6iPDH7Tk1bQALDGFodPoMxLSof6mgiWSK6L7ocf txh3trevpnpYia7aMMcY2GnGl/EE0bYLvHFgR4SrooFZQhHpdBzaWajx1awl+As4ZVYV LqzWIjpofX+ipaT/tVd4MY7VaocJJa1zEBMc1qwejaj+UUH7zNemHKtaQJWyAVkjq6kb 0X6ZjRElAh/2Aq3v9PgzBizPltDXq+1UOKzCoixiF6F8UxeyGR1N7a6ai+yhkZvtXIAO Q8fImVyU7hpYYF+wNty8QjJ+DriNFRiFggTtDRFnuo+/VgWThgE974kEjlUr29GdMBSD CThg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ccEw8pDg; 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 j7si9156621ejm.155.2020.06.28.20.33.46; Sun, 28 Jun 2020 20:34:10 -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=ccEw8pDg; 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 S1726065AbgF2Ddk (ORCPT + 99 others); Sun, 28 Jun 2020 23:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbgF2Ddk (ORCPT ); Sun, 28 Jun 2020 23:33:40 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F42FC03E979; Sun, 28 Jun 2020 20:33:40 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id f2so6542627plr.8; Sun, 28 Jun 2020 20:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fYJKmE7yRo1ixIz8HpJIKtPVneklCF0ayYZCHIK8EeE=; b=ccEw8pDgO7NJNzDs8/7IFb44i/405jgQahmjmw0raESl6GJAwudPJl180HDwTGkU5e m9zB6pFPv73MAAbRbVnUMpdnbfsfT6uSWw81J4okpgmBtFr3tKTSp+wwoIkvMzUAO7BH aGc6sEa3/+MeaXkgXdnUtL7nd/Ze0m6L56MgGDTN3c32wyW6wrb2oXoa/J9miE2qLHT4 ByBWtU8m3FeX1BhoZfTUgMZGBF+d5jFkEzkoEjUNwHKIoV4lHjOkdXumOjzRSi0njIBD U0bcJOaNPqsscII0jzSX6EZlbGuSk2uZmqR0jLIslptv4DutAKZ1HN7akNTVlTSFxL/v cWbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fYJKmE7yRo1ixIz8HpJIKtPVneklCF0ayYZCHIK8EeE=; b=EaH+chBXTwLGmW5qSrJSv6p63mJDTMdWFZBfRgLaTVN4FysoUPb+M9DImeE3FWCpPe TJ1DyId/2yiQgybck004SKKjjp7BRL+Z7Tk5OS84SJ47azugCNZnbqqCAVhrCOX349IX 67PQFE0dvxO0NiLkwsggK/U35JGavgh8FZOCp8UvUkzWDnY5it7iMZGqUl+BLOAVkUH1 ip+53iHKr5zvRC0aNCaJ/IV/vElh0seBCBimNFRoeah8REV9FjHPnurFkt3DYdKFaTlq 1tq7AseCjvKUBxtTCqLfffs720g7H1aCunfKoFmricUpcCK8ci8aTK2Q6VvFAePR+Q2G Iqqg== X-Gm-Message-State: AOAM5321VI4HTPtnkX0i74PQMnQosWAyEv025qzbWrKNK8CbJOxBSaMu AM5MtLM2IQIcmRQyI3zepbgCuhz1Ofs= X-Received: by 2002:a17:90a:ea84:: with SMTP id h4mr4007676pjz.128.1593401619651; Sun, 28 Jun 2020 20:33:39 -0700 (PDT) Received: from varodek.iballbatonwifi.com ([103.105.153.57]) by smtp.gmail.com with ESMTPSA id e191sm10679196pfh.42.2020.06.28.20.33.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2020 20:33:38 -0700 (PDT) From: Vaibhav Gupta To: Bjorn Helgaas , Bjorn Helgaas , bjorn@helgaas.com, Vaibhav Gupta , "David S. Miller" , Stanislav Yakovlev , Kalle Valo , Jakub Kicinski Cc: Vaibhav Gupta , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org Subject: [PATCH v1 0/2] ipw2x00: use generic power management Date: Mon, 29 Jun 2020 09:02:24 +0530 Message-Id: <20200629033226.160936-1-vaibhavgupta40@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linux Kernel Mentee: Remove Legacy Power Management. The purpose of this patch series is to remove legacy power management callbacks from amd ethernet drivers. The callbacks performing suspend() and resume() operations are still calling pci_save_state(), pci_set_power_state(), etc. and handling the power management themselves, which is not recommended. The conversion requires the removal of the those function calls and change the callback definition accordingly and make use of dev_pm_ops structure. All patches are compile-tested only. Vaibhav Gupta (2): ipw2100: use generic power management ipw2200: use generic power management drivers/net/wireless/intel/ipw2x00/ipw2100.c | 31 +++++--------------- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 30 +++++-------------- 2 files changed, 14 insertions(+), 47 deletions(-) -- 2.27.0