[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110311200221.GB20247@sortiz-mobl>
Date: Fri, 11 Mar 2011 21:02:21 +0100
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Andres Salomon <dilinger@...ued.net>
Cc: Evgeniy Polyakov <johnpol@....mipt.ru>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] w1/ds1wm: silence warnings related to mfd_get_cell
changes
Hi Andres,
On Tue, Mar 01, 2011 at 01:55:07PM -0800, Andres Salomon wrote:
>
> mfd_get_cell returns a const, so change the ds1wm client to store
> a const mfd cell. This silences type mismatch warnings.
>
> Since we're guaranteed to have the mfd_cell, we can also simplify
> the code a bit to get rid of a temporary variable and NULL check.
Patch applied, thanks a lot.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists