* @matches: Array of OF device match structures to search in
* @stem: Alias stem of the given device_node
* @bitmap: Bitmap field pointer
- * @nbits: Maximum number of alias ID which can be recorded it bitmap
+ * @nbits: Maximum number of alias IDs which can be recorded in bitmap
*
* The function travels the lookup table to record alias ids for the given
* device match structures and alias stem.
__func__, app->stem, app->id);
if (strcmp(app->stem, stem) != 0) {
- pr_debug("%s: stem comparison doesn't passed %s\n",
+ pr_debug("%s: stem comparison didn't pass %s\n",
__func__, app->stem);
continue;
}
pr_debug("%s: Allocated ID %d\n", __func__, app->id);
set_bit(app->id, bitmap);
}
- /* Alias exist but it not compatible with matches */
+ /* Alias exists but is not compatible with matches */
}
mutex_unlock(&of_mutex);