File tree Expand file tree Collapse file tree 8 files changed +8
-24
lines changed Expand file tree Collapse file tree 8 files changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -157,10 +157,8 @@ static int __init am3517evm_soc_init(void)
157
157
{
158
158
int ret ;
159
159
160
- if (!machine_is_omap3517evm ()) {
161
- pr_err ("Not OMAP3517 / AM3517 EVM!\n" );
160
+ if (!machine_is_omap3517evm ())
162
161
return - ENODEV ;
163
- }
164
162
pr_info ("OMAP3517 / AM3517 EVM SoC init\n" );
165
163
166
164
am3517evm_snd_device = platform_device_alloc ("soc-audio" , -1 );
Original file line number Diff line number Diff line change @@ -101,10 +101,8 @@ static int __init igep2_soc_init(void)
101
101
{
102
102
int ret ;
103
103
104
- if (!machine_is_igep0020 ()) {
105
- pr_debug ("Not IGEP v2!\n" );
104
+ if (!machine_is_igep0020 ())
106
105
return - ENODEV ;
107
- }
108
106
printk (KERN_INFO "IGEP v2 SoC init\n" );
109
107
110
108
igep2_snd_device = platform_device_alloc ("soc-audio" , -1 );
Original file line number Diff line number Diff line change @@ -103,10 +103,8 @@ static int __init omap2evm_soc_init(void)
103
103
{
104
104
int ret ;
105
105
106
- if (!machine_is_omap2evm ()) {
107
- pr_debug ("Not omap2evm!\n" );
106
+ if (!machine_is_omap2evm ())
108
107
return - ENODEV ;
109
- }
110
108
printk (KERN_INFO "omap2evm SoC init\n" );
111
109
112
110
omap2evm_snd_device = platform_device_alloc ("soc-audio" , -1 );
Original file line number Diff line number Diff line change @@ -112,10 +112,8 @@ static int __init omap3beagle_soc_init(void)
112
112
{
113
113
int ret ;
114
114
115
- if (!(machine_is_omap3_beagle () || machine_is_devkit8000 ())) {
116
- pr_debug ("Not OMAP3 Beagle or Devkit8000!\n" );
115
+ if (!(machine_is_omap3_beagle () || machine_is_devkit8000 ()))
117
116
return - ENODEV ;
118
- }
119
117
pr_info ("OMAP3 Beagle/Devkit8000 SoC init\n" );
120
118
121
119
omap3beagle_snd_device = platform_device_alloc ("soc-audio" , -1 );
Original file line number Diff line number Diff line change @@ -99,10 +99,8 @@ static int __init omap3evm_soc_init(void)
99
99
{
100
100
int ret ;
101
101
102
- if (!machine_is_omap3evm ()) {
103
- pr_err ("Not OMAP3 EVM!\n" );
102
+ if (!machine_is_omap3evm ())
104
103
return - ENODEV ;
105
- }
106
104
pr_info ("OMAP3 EVM SoC init\n" );
107
105
108
106
omap3evm_snd_device = platform_device_alloc ("soc-audio" , -1 );
Original file line number Diff line number Diff line change @@ -296,10 +296,8 @@ static int __init sdp3430_soc_init(void)
296
296
int ret ;
297
297
u8 pin_mux ;
298
298
299
- if (!machine_is_omap_3430sdp ()) {
300
- pr_debug ("Not SDP3430!\n" );
299
+ if (!machine_is_omap_3430sdp ())
301
300
return - ENODEV ;
302
- }
303
301
printk (KERN_INFO "SDP3430 SoC init\n" );
304
302
305
303
sdp3430_snd_device = platform_device_alloc ("soc-audio" , -1 );
Original file line number Diff line number Diff line change @@ -186,10 +186,8 @@ static int __init sdp4430_soc_init(void)
186
186
{
187
187
int ret ;
188
188
189
- if (!machine_is_omap_4430sdp ()) {
190
- pr_debug ("Not SDP4430!\n" );
189
+ if (!machine_is_omap_4430sdp ())
191
190
return - ENODEV ;
192
- }
193
191
printk (KERN_INFO "SDP4430 SoC init\n" );
194
192
195
193
sdp4430_snd_device = platform_device_alloc ("soc-audio" , -1 );
Original file line number Diff line number Diff line change @@ -245,10 +245,8 @@ static int __init zoom2_soc_init(void)
245
245
{
246
246
int ret ;
247
247
248
- if (!machine_is_omap_zoom2 ()) {
249
- pr_debug ("Not Zoom2!\n" );
248
+ if (!machine_is_omap_zoom2 ())
250
249
return - ENODEV ;
251
- }
252
250
printk (KERN_INFO "Zoom2 SoC init\n" );
253
251
254
252
zoom2_snd_device = platform_device_alloc ("soc-audio" , -1 );
You can’t perform that action at this time.
0 commit comments