Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751892AbaFREWw (ORCPT ); Wed, 18 Jun 2014 00:22:52 -0400 Received: from mail-ve0-f176.google.com ([209.85.128.176]:48652 "EHLO mail-ve0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbaFREWv (ORCPT ); Wed, 18 Jun 2014 00:22:51 -0400 MIME-Version: 1.0 In-Reply-To: References: <1402954800-28215-1-git-send-email-dianders@chromium.org> <1402954800-28215-8-git-send-email-dianders@chromium.org> Date: Tue, 17 Jun 2014 21:22:50 -0700 X-Google-Sender-Auth: 7sBvntm4nVoAPQh49Gh_dwgILD0 Message-ID: Subject: Re: [PATCH 07/10] mfd: cros_ec: cleanup: remove unused fields from struct cros_ec_device From: Doug Anderson To: Simon Glass Cc: Lee Jones , Andrew Bresticker , Stephen Warren , Olof Johansson , Sonny Rao , linux-samsung-soc , Javier Martinez Canillas , Bill Richardson , Wolfram Sang , Mark Brown , Samuel Ortiz , lk Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Simon, On Tue, Jun 17, 2014 at 8:39 PM, Simon Glass wrote: > Hi Doug, > > On 16 June 2014 14:39, Doug Anderson wrote: >> From: Bill Richardson >> >> struct cros_ec_device has a superfluous "name" field. We can get all the >> debugging info we need from the existing ec_name and phys_name fields, so >> let's take out the extra field. > > Except that it no longer prints I2C/SPI - i.e. the transport that is > used. Is that not considered important? Before this change: [ 1.895472] cros-ec-spi spi2.0: Chrome EC (SPI) After this change: [ 1.910671] cros-ec-spi spi2.0: Chrome EC device registered I think having SPI in the name twice is probably enough. ;) -Doug -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/