Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp702921pxu; Wed, 6 Jan 2021 01:56:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRFL+Ke1a/f0eBFbAFrsQUPqvQNz+vvmLQb800ZLZu+jLVpQTavKZRwDqmij86TGwIpSgd X-Received: by 2002:a05:6402:312c:: with SMTP id dd12mr3494482edb.327.1609927014742; Wed, 06 Jan 2021 01:56:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609927014; cv=none; d=google.com; s=arc-20160816; b=utDfRwjufkJHGqdX9c5d9BAM2ib+3lMRnDYkHL8gLQ3ythG4uoY7nfLlJ58xTlVJDp 3e1u27tqSvvB20imRx+CnF1aZXQo10DFYhadau5YI+bwHzEguZkWXG4V9bW5mqJf3rme 70/sQD+/j3fYCiPoaSSEXrcb9vc/wcKk/3LBxtkFmUa97eY2lRFT4NLBNbCHXvJRa6lv eXpHxXunojdigwPukgLmef46ItsXq9ZmBQGSi99CTNkpUhLM/KE+mW5Od5wC+t1fY3pA JtKe53OaMV7vREURstUHTZXmIW8FMR8hXksivrNKTyWtmT64N8jxfhTEK3oWjqHW1CqI +grQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6vpTmb51iwCOJ0Wwqb8LfRUN99690SDwI1B/gEwAQ8s=; b=XNG14Emlb4Kg1kQGpPj7HCJiCkICCLUtzwl9pggBT3bU1NMqvlI/3hmhHRHnSvYs/6 gyqi8f+otpG4Ha2o+a97yCadcH23uwOQiic9r4eK+qLEK2i4t9AonYmKY+dWvHKdm2If iTIPIrEdbbtoR3KzouqtyyXeAsTSpodDBx66jDG1JjMfHOsUmjjhCPV+isHTPXIPcgtl VdkvZPocflw0sbzZ3AhK0/62nw+I8V1oe3NCMcHMtIZr+ctS/k3GVZS4RhV8FgRQT0Mf P3AMjU48MnLlj/0lXgveg6Vw58T0+TNmFOptw9FGQ/igFQFioD4EA9lsOx6rrsaw9wYE t9sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Usml1h+v; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rl11si798536ejb.33.2021.01.06.01.56.30; Wed, 06 Jan 2021 01:56:54 -0800 (PST) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Usml1h+v; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727148AbhAFJxr (ORCPT + 99 others); Wed, 6 Jan 2021 04:53:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726346AbhAFJxq (ORCPT ); Wed, 6 Jan 2021 04:53:46 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 231F4C061357 for ; Wed, 6 Jan 2021 01:53:06 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id b9so4332170ejy.0 for ; Wed, 06 Jan 2021 01:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6vpTmb51iwCOJ0Wwqb8LfRUN99690SDwI1B/gEwAQ8s=; b=Usml1h+v3R1flxbHMZXUmqNbYyBPCaEIoYmJEss8DBA806qFxYbIMyG9ri+UjFFnVr qK9bXVYkxIT0pSVwWW5Itiu6RxPUj5YtY0znWLsONG4BccdgHBbNm4igdcZwDmbMKw/D O/GQSAL5cpRNt9hkUZZAUIB0tVdzMhLBYkrcc0la3J8u91ele3tHO+hSWdt8pKmMN85G YGMT78pSN7o1GHQIusg2xUMTE5I5mkvKIC65h633JY8uMA2v4/jNftckiLImiboB8jUy LEetNA69/9lbKjpDxlEd3XIsOPWLhn4k5XYeZkOG/EWY+EmbhRAbR3hqBhcB9uvVmYS1 A89Q== 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=6vpTmb51iwCOJ0Wwqb8LfRUN99690SDwI1B/gEwAQ8s=; b=feFm5cb7pOSUGYQWihb8DLn9oooBDUSkVZ1Rym6v4vk1nYdXcF+ZEpz0aq5mZ+p3qw /wYoOrwdfY2AiOFkdnCNplSMrm1wUN0/D8yD3l34a42IINob78t4eTuwAkJ/tx1MNlLx Bap62JF8hDz76E2myHOr2ECSlnA2AqOo8+63ijLswTTs7FYSr6VQ79rWQZic0BAz76NC eXmbiyzm/DFo+putfaAH+L2vEC9bYrbcdsY6U7OqOH1XZr8tAt3DJR1NMYjaKZX1W78z 0/jB4W+5ddwyv9k89oGAaVY35x7p2MAtjDaIBFp+TmGcrYYzVO1/caSt7UpqQBEW/G62 0lDQ== X-Gm-Message-State: AOAM531/qLcsB7iODSgv1SIe/K/+89VHzQXuNES3awCKxZRVR4Z9rJIM 7QARXgTLB+Zh2MZVeDo0WD7mia8NhZcSyZaRESEEpA== X-Received: by 2002:a17:906:3146:: with SMTP id e6mr2203561eje.363.1609926784918; Wed, 06 Jan 2021 01:53:04 -0800 (PST) MIME-Version: 1.0 References: <20210105125335.GA3430233@localhost.localdomain> In-Reply-To: <20210105125335.GA3430233@localhost.localdomain> From: Bartosz Golaszewski Date: Wed, 6 Jan 2021 10:52:54 +0100 Message-ID: Subject: Re: [PATCH] gpio: bd7xxxx: Do not depend on parent driver data To: Matti Vaittinen Cc: Matti Vaittinen , Linus Walleij , linux-power@fi.rohmeurope.com, linux-gpio , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 5, 2021 at 1:53 PM Matti Vaittinen wrote: > > The ROHM BD70528 and BD71828 GPIO drivers only need the regmap > pointer from parent. Regmap can be obtained via dev_get_regmap() > so do not require parent to populate driver data for that. > > Signed-off-by: Matti Vaittinen > --- Sweet! Applied for next. Bartosz