generator: Don't hard-code name in DeviceList check.
authorRichard Jones <rjones@redhat.com>
Fri, 16 Jul 2010 11:57:24 +0000 (12:57 +0100)
committerRichard Jones <rjones@redhat.com>
Tue, 17 Aug 2010 15:01:32 +0000 (16:01 +0100)
commit902a732ffdbe7a21ec767a5e636969351c3ba87b
tree479e9bfb3d8aee68b13dc6b478f9f62e46c15f7c
parent51cfb22055148f94ebf3a4e841b3ef6e1b93ab20
generator: Don't hard-code name in DeviceList check.

Only one function currently uses DeviceList.  The generated code
unfortunately hard-coded the argument name from that function.

Cherry picked from aac51942aab63a9355ad6724345ea923148bf2a9
and rebased for stable branch.
src/generator.ml