From: Andres Salomon Date: Tue, 1 Mar 2011 21:55:07 +0000 (-0800) Subject: w1: Silence ds1wm warnings related to mfd_get_cell changes X-Git-Tag: v2.6.39-rc1~96^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e5dc1f7004832f797999dfb3498a68a6c16ef73;p=pandora-kernel.git w1: Silence ds1wm warnings related to mfd_get_cell changes 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. Signed-off-by: Andres Salomon Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed