diff options
author | Andres Salomon <dilinger@queued.net> | 2011-03-02 00:55:07 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 12:42:02 +0300 |
commit | 7e5dc1f7004832f797999dfb3498a68a6c16ef73 (patch) | |
tree | 7ef3cf763a638a68bd7d26a044411cb1e8396bb1 /arch/x86/platform/olpc/olpc-xo1.c | |
parent | e5c238c3fde93afdddef36aec2642155c709d93a (diff) | |
download | linux-7e5dc1f7004832f797999dfb3498a68a6c16ef73.tar.xz |
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 'arch/x86/platform/olpc/olpc-xo1.c')
0 files changed, 0 insertions, 0 deletions