Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha - Software
Commits
d5d353e1
Commit
d5d353e1
authored
Jul 16, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drv: remove un-used check
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
7c3cfd14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
fa-core.c
kernel/fa-core.c
+0
-19
No files found.
kernel/fa-core.c
View file @
d5d353e1
...
...
@@ -468,25 +468,6 @@ static int fa_resource_validation(struct platform_device *pdev)
return
-
ENXIO
;
}
/* Special Configurations */
switch
(
pdev
->
id_entry
->
driver_data
)
{
case
ADC_VER_SPEC
:
break
;
#ifdef CONFIG_FMC_ADC_SVEC
case
ADC_VER_SVEC
:
r
=
platform_get_resource
(
pdev
,
IORESOURCE_BUS
,
ADC_CARR_VME_ADDR
);
if
(
!
r
)
{
dev_err
(
&
pdev
->
dev
,
"The ADC needs a DMA ADDR register
\n
"
);
return
-
ENXIO
;
}
break
;
#endif
default:
break
;
}
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment