Commit fa0f667
ata: pata_arasan_cf: simplify ioremap
Use devm_platform_get_and_ioremap_resource() to combine
platform_get_resource, request_mem_region, and ioremap.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Niklas Cassel <cassel@kernel.org>1 parent 28afe01 commit fa0f667
1 file changed
Lines changed: 6 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | 806 | | |
817 | 807 | | |
818 | 808 | | |
| |||
827 | 817 | | |
828 | 818 | | |
829 | 819 | | |
| 820 | + | |
| 821 | + | |
830 | 822 | | |
831 | 823 | | |
832 | 824 | | |
833 | | - | |
834 | | - | |
835 | 825 | | |
836 | 826 | | |
837 | 827 | | |
838 | 828 | | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
839 | 833 | | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | 834 | | |
847 | 835 | | |
848 | 836 | | |
| |||
0 commit comments