* Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
* Contact: DongGi Jang <dg0402.jang@samsung.com>
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+*/
#include <sys/types.h>
dev = root_dev;
while (dev) {
- DBG("devname = %s %d %d", dev->devname, dev->devtype, devtype);
if (dev->devtype == devtype)
return dev;
dev = dev->next;
while (dev) {
if (strstr(dev->devname, devname)) {
if ((strstr(dev->devname, "auto") != NULL) &&
- (dev->probe != NULL)) {
+ (dev->probe != NULL)) {
ret = dev->probe();
if (ret < 0) {
DBG("auto probe failed");