commit | 7e5dc1f7004832f797999dfb3498a68a6c16ef73 | [log] [tgz] |
---|---|---|
author | Andres Salomon <dilinger@queued.net> | Tue Mar 01 13:55:07 2011 -0800 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Wed Mar 23 10:42:02 2011 +0100 |
tree | 7ef3cf763a638a68bd7d26a044411cb1e8396bb1 | |
parent | e5c238c3fde93afdddef36aec2642155c709d93a [diff] |
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 <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>