Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4165906imm; Mon, 20 Aug 2018 10:56:00 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzqq1V6/Npu+UaQ53trCsj0FFQ6JOIJF2/nGWGu8kwKgQg/9psUC4rgnH/RFpog9NZQrNN+ X-Received: by 2002:a17:902:4124:: with SMTP id e33-v6mr46317016pld.48.1534787759989; Mon, 20 Aug 2018 10:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534787759; cv=none; d=google.com; s=arc-20160816; b=tyToAfL85ij37GDA1TYxUxLe+xshDlAOob1/1IsD8yo2mbM5t/g98WJyU0v3Lw2+7c QJd7SUNocmZ82swpfCW6F2PzLkCGInxBRVloFsAGEAoyY/cVGWG//FWZaod6pXNGF4BS acnYYshBQQ21YciBn4cmbYypfxIv+ZfGoxohtwEbuAQEUz1s+lhMxaGH6DinP423lGFg e1Mf3ZzL5ClSH05ZjmlKdLtyAF7/m6z0hXJeyoLmtOr18UvXjV/UscNMRB3amMWk8kmu 5m+Pr3bV44HOniU9Xq1SO9ldWZcXiKx1+4LW5+D1HvfIlv+L5Xe8lgcYgFK4caZsGzIt OlFQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=K0B+x53c1FrdvFPdXbKKm1a4L/60D7QPvjhvERfqF8A=; b=lq4Nq9FwGLbuXfan184NWFzr/8jm3vee9xjk6cVvMMwB5Pm6Ov0/O2N7CH/vw5dCO7 eMHBuTt68ZZD45HAXhF9ius1Cv2DcG2C3fHJiKcYGyyseNXkh2ASoqiJPGlYJlAQ4Vol eIsyo48gFdyCEgnkw13jKiajPc/6z7wMnHP2D+2eB5XReOK57kg6CR2jBQqn5XySZkwF hYjMN8IoMJbK5GWM2lHbmqu4MDqP/faYme3yDoD5h5HKwSBCDlxGQzchL6rWZRYSq6bX XvEjEd2eCTVhFsn+ibjxWCF5c5Y4fc9eva8j2xU+tei+zPXXup6z+NWq5EZvLnip9A/n WQqQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j61-v6si10230544plb.49.2018.08.20.10.55.45; Mon, 20 Aug 2018 10:55:59 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726483AbeHTVKp (ORCPT + 99 others); Mon, 20 Aug 2018 17:10:45 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41051 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbeHTVKo (ORCPT ); Mon, 20 Aug 2018 17:10:44 -0400 Received: by mail-pg1-f195.google.com with SMTP id s15-v6so4379379pgv.8 for ; Mon, 20 Aug 2018 10:54:08 -0700 (PDT) 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:user-agent; bh=K0B+x53c1FrdvFPdXbKKm1a4L/60D7QPvjhvERfqF8A=; b=Lbq0yi+fH/SehAGOICR4UHtDx/cKNeTVljvJ1uJNpVugnOizJGRqskXYQodjyYu+be GbGqLq69S5f03+g2qTfMgbMN3Ivk1L6+dS5nr7DkpgkxfFnajDzJZXDh3ViCqRBrUpAA QnJxVMYI6tUNgFRG30xHn4SIC4KGMQoF0GE0P5GEPCJaDk63qSGu8DNTn7LJASbTYtk/ TeX/h5pXVq5CRwVMzIBmKA5kZoZVjKScZBEmQ7g40DzVxVbkCHj+04XTTweYwkhocD0D vpgOG+I8G57bZ++x7NPpqtnmBGuDOQpfmJuX5uMmGpxGdX5GAXksZRYNuCBjfSLS2uwP hjJg== X-Gm-Message-State: AOUpUlG3uy+41hmzyArxnsFufnRrHZ0W4+lZ/l3h31qdtf6T69CL5/zG RIWi1gmiKjD2fEqme+NlJwA6gA6BaBg= X-Received: by 2002:a63:571d:: with SMTP id l29-v6mr43224423pgb.296.1534787648437; Mon, 20 Aug 2018 10:54:08 -0700 (PDT) Received: from localhost ([207.114.172.147]) by smtp.gmail.com with ESMTPSA id n18-v6sm17873744pfa.50.2018.08.20.10.54.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Aug 2018 10:54:07 -0700 (PDT) Date: Mon, 20 Aug 2018 10:54:25 -0700 From: Moritz Fischer To: Alan Tull Cc: Moritz Fischer , Wu Hao , linux-fpga@vger.kernel.org, linux-kernel Subject: Re: [PATCH v2] fpga: dfl: region: Restory symmetry in probe()/remove() Message-ID: <20180820175425.zoxnbcz3ziutxaq5@derp-derp.local> References: <20180820171818.7710-1-mdf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, On Mon, Aug 20, 2018 at 12:46:32PM -0500, Alan Tull wrote: > On Mon, Aug 20, 2018 at 12:18 PM, Moritz Fischer wrote: > > Hi Moritz, > > > Replace dev_get_drvdata() with platform_get_drvdata() to > > match the platform_set_drvdata() in the probe function of > > the platform driver. > > > > Fixes commit bb61b9be3e6b ("fpga: dfl: add fpga region platform driver for FME") > > Signed-off-by: Moritz Fischer > > --- > > > > Changes from v1: > > - Still compile after change ... > > > > --- > > drivers/fpga/dfl-fme-region.c | 2 +- > > Thanks for catching this. of-fpga-region.c does a similar thing and > needs s/dev_set_drvdata/platform_set_drvdata/ in the probe. Could you > fix it here too? Yeah, can do in a v3 series ... Will add your Suggested-by: ... Cheers, Moritz