Go to the documentation of this file.
21 #include <linux/slab.h>
37 char *
name =
"omap_gpio";
53 pr_err(
"gpio%d: Memory allocation failed\n",
id);
63 pr_err(
"gpio%d: Memory allocation failed\n",
id);
68 switch (oh->
class->rev) {
125 WARN(1,
"Invalid gpio bank_type\n");
135 sizeof(*pdata),
NULL, 0,
false);
139 WARN(1,
"Can't build omap_device for %s:%s.\n",
141 return PTR_ERR(pdev);
152 static int __init omap2_gpio_init(
void)
155 if (of_have_populated_dt())