add .dir-locals.el file for Linux formatting

This is copied from EC codebase, and simply enables Linux kernel style
by default for C in Emacs.

Makes peoples editors just do the right thing without needing to
setup.

BUG=none
TEST=Linux kernel style is used by Emacs by default in this directory

Change-Id: I78453b788d32a75da12480fc6821f65651247468
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/mosys/+/1793017
Reviewed-by: Jason Clinton <jclinton@chromium.org>
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
1 file changed