File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -2226,26 +2226,6 @@ static int gpmc_probe_generic_child(struct platform_device *pdev,
2226
2226
goto err ;
2227
2227
}
2228
2228
2229
- if (of_node_name_eq (child , "nand" )) {
2230
- /* Warn about older DT blobs with no compatible property */
2231
- if (!of_property_read_bool (child , "compatible" )) {
2232
- dev_warn (& pdev -> dev ,
2233
- "Incompatible NAND node: missing compatible" );
2234
- ret = - EINVAL ;
2235
- goto err ;
2236
- }
2237
- }
2238
-
2239
- if (of_node_name_eq (child , "onenand" )) {
2240
- /* Warn about older DT blobs with no compatible property */
2241
- if (!of_property_read_bool (child , "compatible" )) {
2242
- dev_warn (& pdev -> dev ,
2243
- "Incompatible OneNAND node: missing compatible" );
2244
- ret = - EINVAL ;
2245
- goto err ;
2246
- }
2247
- }
2248
-
2249
2229
if (of_match_node (omap_nand_ids , child )) {
2250
2230
/* NAND specific setup */
2251
2231
val = 8 ;
You can’t perform that action at this time.
0 commit comments