]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
i2c: at91: Use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 14 Mar 2013 00:13:03 +0000 (00:13 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 29 Mar 2013 11:41:43 +0000 (12:41 +0100)
commit600abeadf318fbdb25e1e3e4379f6a7bb1952d5b
treef01995378964ce69fe3803607b2b72d82fcfcd28
parent857968434bb6dbda0911f38ec46b0c3d0c963771
i2c: at91: Use of_match_ptr() macro

This eliminates having an #ifdef returning NULL for the case
when OF is disabled.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-at91.c