Re: [PATCH] w1/ds1wm: silence warnings related to mfd_get_cellchanges
From: Samuel Ortiz
Date: Fri Mar 11 2011 - 15:02:26 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/