From: Jesse Barnes Subject: Re: [PATCH 2/2] drm/i915: s/dev->dev_private/to_i915(dev)/ Date: Tue, 13 May 2014 14:56:28 -0700 Message-ID: <20140513145628.4aed25c9@jbarnes-desktop> References: <1400012520-15802-1-git-send-email-daniel.vetter@ffwll.ch> <1400012520-15802-2-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from gproxy1-pub.mail.unifiedlayer.com (gproxy1-pub.mail.unifiedlayer.com [69.89.25.95]) by gabe.freedesktop.org (Postfix) with SMTP id B67917203A for ; Tue, 13 May 2014 15:00:29 -0700 (PDT) In-Reply-To: <1400012520-15802-2-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Daniel Vetter Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Tue, 13 May 2014 22:22:00 +0200 Daniel Vetter wrote: > coccinelle is seriously a tool I should have played around with much > earlier. Extremely powerful, and extremely dangerous in causing > massive conflict hell for everyone else since doing large-scale stuff > is so much easier than with sed. > > Way, way too easy. Why? For an eventual move to embedding drm_device in i915? May as well move over all the rest of the driver internals that use drm_device * while you're at it. :) Would be nice to get rid of the typedef too... -- Jesse Barnes, Intel Open Source Technology Center