Skip to content
Commit 5b058034 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: change file_lookup() to return the file name



Currently, file_lookup() returns a pointer to (struct file), but the
callers use only file->name.

Make it return the ->name member directly.

This adjustment encapsulates struct file and file_list as internal
implementation.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 6676c5bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment