diff options
author | Andres Salomon <dilinger@queued.net> | 2011-03-01 13:55:07 -0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 10:42:02 +0100 |
commit | 7e5dc1f7004832f797999dfb3498a68a6c16ef73 (patch) | |
tree | 7ef3cf763a638a68bd7d26a044411cb1e8396bb1 /drivers/w1/slaves/w1_ds2433.c | |
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>
Diffstat (limited to 'drivers/w1/slaves/w1_ds2433.c')
0 files changed, 0 insertions, 0 deletions