Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2029858ybb; Thu, 2 Apr 2020 11:44:17 -0700 (PDT) X-Google-Smtp-Source: APiQypIzypoNfcau81Ra7l5Hn9wtewWiHXs3N6aWscIahpoEvCiXrEBceJcCh7GEoTlVUghvehyE X-Received: by 2002:a4a:c315:: with SMTP id c21mr3905753ooq.13.1585853057091; Thu, 02 Apr 2020 11:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585853057; cv=none; d=google.com; s=arc-20160816; b=PDBfQBZRndTH6DLQgmUccbm0e3/kSi6x1i0XYR44ir3O4RASSziKS93oXSzi2hlv9/ DLV21TwreD8qOAiGHgMk7E0hKtvDD7nARnRUJFijDE0CWzPFCMxbBZrPTfqqTCKCwpwF m7ORVv18piS9R0rq4HaitoMrxkEeZ+HAM3PgtWPKQ3XJwjNkNF3vNCkIaMhx9rkoGCc/ +wDQkCMLZY8YeZCHG+cabkesD7fpeljy0eZeLT+CtRX4bFHkz0mqzMF7Xh0wmUoDx/I1 t387oULSlyGe4+2mA03TsoVv6ID89U5vnloxXKurQ73EMOw1BdfK7oVl0Zu2Is0vJysI kWXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oyphBXh8PTHTDQxehHVJCwGunWLiChskEfIoqWTwvaQ=; b=X8LfoYI/AAmwMFtzit7zL2YeMpyjDuA18fSqTIlEBV9Sz6rmhYcxDCiyobk59RRUUu NYDOpeQZkPqEdyh0MrvtCypScNzoLe4N1maiC1ef0HyxcaCp31J6she4d+cCN5PWIB3k hG3S6l1JO8wtzbUKMdFa4V2DBMqGtgaDvjKBVWCzG5PYdhSAqSzIzppVWoDSnOhyBWQ7 4n7w5hFGjPuN65AyI7b6VezLv1BTpwEUoAxe5EZtDBakAyV/4WtlQR8XsjqbYRQLY2uT TzhaJHQ03FdqGGhFf78E+YkOvxixRf/otR0s3eokhw3du6QzzUmHDYcOKgEss5sGNI0S SeUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZXpM5y7G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id h27si2719384ots.293.2020.04.02.11.44.04; Thu, 02 Apr 2020 11:44:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZXpM5y7G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2389488AbgDBSd7 (ORCPT + 99 others); Thu, 2 Apr 2020 14:33:59 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:33618 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729033AbgDBSd7 (ORCPT ); Thu, 2 Apr 2020 14:33:59 -0400 Received: by mail-pl1-f193.google.com with SMTP id ay1so1674857plb.0; Thu, 02 Apr 2020 11:33:58 -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; bh=oyphBXh8PTHTDQxehHVJCwGunWLiChskEfIoqWTwvaQ=; b=ZXpM5y7GAP9A42RTYplBVCjCe33qIGw2JT0x/NKRNTBtE+7b4Zlc023CFcBP3pjKNa 5ATyJcpTADz2kMNWYlFbVAtc31nQAsn+WWG0wgfD/Uj7flG85i6+ymRQekR+7w1dd6fi 537SiNd9M08XnpAyffnAJRqlOOqFllOg1FJ3jVtlPDPk5GWAFw4WWwUPjshtzDAzb77I UmxhRCvEvD77fpsXDyxewGth0S/yQRxM99HLjyHYdFJjeY3p6yjYTvoYcRFIYo5+R+/E Vy999SfA/2YFblHW++SjU9ov1U6BiFcqBm2okAdZYbFBcudcWu1POyaVWI5RYiDa52F5 w8Fw== 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; bh=oyphBXh8PTHTDQxehHVJCwGunWLiChskEfIoqWTwvaQ=; b=IXx8+BCZXIWD/n+89m+mV5O6wH+FOUKyyMGXNo65rdA8soVubdqD+cDWJNR1a9q/bo 6Ei3XlHzlbwv3iwgsUqA2PpKgyDG2KF6NXnyCuS13n9DpFyqV7Luh21rS6JyboavcVgC kjMLsyxTx2aOzHMQZIf6Fk6N/YXgEDmn04GiTx1mvvh8iJ+QvkktDdv8g+mS3vx7KCNm 2AydiWEyrmnxknxyMSdZVMAGPxStEM3EcbZ6CBRU1DRK3bU4WVAu8jJNzx/Iak8fp/wr pXsyxZX4MiSOPyBPKs5IftMrZtYC7Rr8ZRFqG/ww1PK0nfaiiuJjci6h6OrWjCqOOk6A hdXg== X-Gm-Message-State: AGi0PuYlqlsEP1qm005oKlOf3s9OXx+QXQbxygUnqaaBLiZUGZ36a+6H /g2eA+8Fsi/5w+i/FiAoYkNnKhBrSW2cB+4rrGY= X-Received: by 2002:a17:90a:8403:: with SMTP id j3mr5361787pjn.8.1585852437627; Thu, 02 Apr 2020 11:33:57 -0700 (PDT) MIME-Version: 1.0 References: <20200402155057.30667-1-vaibhavgupta40@gmail.com> In-Reply-To: <20200402155057.30667-1-vaibhavgupta40@gmail.com> From: Andy Shevchenko Date: Thu, 2 Apr 2020 21:33:46 +0300 Message-ID: Subject: Re: [Linux-kernel-mentees] [PATCH v1] gpio: ml: ioh: Convert to dev_pm_ops To: Vaibhav Gupta Cc: linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan , bjorn@helgaas.com, andy@kernel.org, Linus Walleij , Bartosz Golaszewski , "Rafael J. Wysocki" , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 2, 2020 at 6:52 PM Vaibhav Gupta wrote: > > Convert the legacy callback .suspend() and .resume() > to the generic ones. > Thank you for the patch. Rather then doing this I think the best approach is to unify gpio-pch and gpio-ml-ioh together. Under umbrella of the task, the clean ups like above are highly appreciated. -- With Best Regards, Andy Shevchenko