Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4710239ybv; Wed, 26 Feb 2020 01:46:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwUQLnnWd+tGOaEPK0hLnXkmndy6k3ChyLgWPGROCLehSWD/4WgTSsYt24c1vPfw9DG5Sbh X-Received: by 2002:a05:6830:1db3:: with SMTP id z19mr2348544oti.292.1582710410602; Wed, 26 Feb 2020 01:46:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582710410; cv=none; d=google.com; s=arc-20160816; b=fnhKKHi96pkG9tGjuH8HKQjlOId9buwB9rMiishvBdC6wIwtMarZNIslxj4wTyS3QO us3mFYBlp8GHOXdrkywMM/8yX7J3iRkdkwlvM2h1rGRkzhnLG+go1qrauqKUoLpEHTcJ exs+fZ2gT/vPi9d1vbYxHZaNcK0gQ5zqpYAsdkJBROsUVO5pfoBB/18PNFFBkXN+146a HcQrFWWcFQ6lLaB8hNpSHRrSRbJupHyhSzy/WUoC3D0ybk30qdlx6XcwkeY90QV4IaXr 83TQdlw2L89uTYtXclJ+iR0Y9eUwkkHy7BamIkJptUso01P304Kj7P7Jyeao4ZKnEvil 60MQ== 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=I2/gSehHpEGG5HyU6rvOAvWs+qM+dEuOlb2iDZhfsCc=; b=AtagCdUMebUZy9Psh0EaQ+1JlkVpc5jo8SFm5dMx9B5XBPEENOmbe5Io9eic09aA0n 3lxJeihfgcsktzQSmxmjOV4ORq35BoZAD4hop9CbrVeQUR4pYPuWvpuGzw2jPBNKeQbc 8ERou1ak1Pq2wiCD/8On9XXH4YG4U4NFov9/yoyX76by57tuVshlpUcKmVkkMDg/vCEM G3DLAjNM5/aUlItNNFk/G+RfTtsNgcNygla4tZVZtXiDYukLz3tc/541rC6jw43W4aFw gvi9Nyj7ac0nLAWZCXqini1lvBNkGEond6/SIGS2WC16dkr+GcMLftixQ59GZ6xG8u1L LFHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KsZBCXxQ; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m26si923064otr.159.2020.02.26.01.46.35; Wed, 26 Feb 2020 01:46:50 -0800 (PST) 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=@linaro.org header.s=google header.b=KsZBCXxQ; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728015AbgBZJpP (ORCPT + 99 others); Wed, 26 Feb 2020 04:45:15 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33260 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727989AbgBZJpO (ORCPT ); Wed, 26 Feb 2020 04:45:14 -0500 Received: by mail-wr1-f68.google.com with SMTP id u6so2148058wrt.0 for ; Wed, 26 Feb 2020 01:45:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=I2/gSehHpEGG5HyU6rvOAvWs+qM+dEuOlb2iDZhfsCc=; b=KsZBCXxQjP3PjDVkFMuNh4vuyBkqTdn2NRl2ChAUbpCbd+a0yef4bxD/D2MdFHPLtJ zRy6X3QItPqoaeaCLyD7hxPrLrxPC7WrIoGdec2Rh1VSlMStZO6y1uusJs78cIsGytZ1 /R8mDcOOm/eo6ElG9W8aeYpM3yzruPr2oU7TfxQhRlklLSsapdrz3gvUqkT5aoTJZJuH kuVboEAZQmyouatkkW2PIPbVmiVp9mGKYsg81QYYF7m7LOxptVjRaE8BKe5JK5WwTbZ1 iuKEQWHoSIY7DEKJI4DjPXvWcl5zqjnpHeyu0LjsWAKwpX7IGp6Df7aPtbmQq55K3zaa 8nuA== 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:content-transfer-encoding :in-reply-to:user-agent; bh=I2/gSehHpEGG5HyU6rvOAvWs+qM+dEuOlb2iDZhfsCc=; b=KNFRxykEyfetWtj+e7mAi/Vxl+WrYHx5Ks95QovJiUxOUHD/JtTwV8Obpb7LCnU86I +SXdIdHJHJsADq2ULGDy1xzGhNrftHCTmC/LbgzrV7bDD3zSKKs/ml2sDNhVilRhj+mr 9A4PCkYRGK9L4/qvlnvaVMMt86Nz+y6M2s99BLcd0/oQzl8Qr6ZGrUopte3bL7WGTNUI to2fT1m8r4qEJ4ss2mRJjqGMx8hcWx8XB7mueW5H2V4OuDd7wPWf++QVQHWbM5/SiPKA t6E5rIXwol6VSeX2yIsbj5ugbJYdOHKn55Czrs4sGyG1anIv2FzxLzv5hagKw7b8UB0y albA== X-Gm-Message-State: APjAAAVAUm+xmwgiSrnMoqzwwNaLg8qlnBXXNdzKhMtttJYqsKWjEZ++ cVAOlgY3JtaYBrU6YMuAmCoMug== X-Received: by 2002:adf:ed8e:: with SMTP id c14mr4522993wro.80.1582710312601; Wed, 26 Feb 2020 01:45:12 -0800 (PST) Received: from dell ([2.31.163.122]) by smtp.gmail.com with ESMTPSA id d13sm2564418wrc.64.2020.02.26.01.45.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 01:45:11 -0800 (PST) Date: Wed, 26 Feb 2020 09:45:43 +0000 From: Lee Jones To: Robin Murphy Cc: linux-kernel@vger.kernel.org, heiko@sntech.de, linux-rockchip@lists.infradead.org, smoch@web.de Subject: Re: [PATCH v2 3/5] mfd: rk808: Stop using syscore ops Message-ID: <20200226094543.GD3494@dell> References: <7fdcdb900c7dc4fba38266e1db637131c3090a67.1578789410.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7fdcdb900c7dc4fba38266e1db637131c3090a67.1578789410.git.robin.murphy@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 12 Jan 2020, Robin Murphy wrote: > Setting the SLEEP pin to its shutdown function for appropriate PMICs > doesn't need to happen in single-CPU context, so there's really no point > involving the syscore machinery. Hook it up to the standard driver model > shutdown method instead. This also obviates the issue that the syscore > ops weren't being unregistered on probe failure or module removal. > > Signed-off-by: Robin Murphy > --- > drivers/mfd/rk808.c | 26 ++++++++++++-------------- > 1 file changed, 12 insertions(+), 14 deletions(-) Going to ignore the unrelated change in this one! (reviewing the remainder before responding) -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog